What’s Vulnerable › Vulnerabilities
CVE-2024-45592: auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-10 · updated 2026-06-17
- Weakness: CWE-79
Description
auditor-bundle, formerly known as DoctrineAuditBundle, integrates auditor library into any Symfony 3.4+ application. Prior to version 5.2.6, there is an unescaped entity property enabling Javascript injection. This is possible because `%source_label%` in twig macro is not escaped. Therefore script tags can be inserted and are executed. The vulnerability is fixed in versions 6.0.0 and 5.2.6.
Affected products
- DamienHarper auditor-bundle: from 5.0.0 before 5.2.6 — fixed in 5.2.6
How to fix
Upgrade to a fixed version: DamienHarper auditor-bundle 5.2.6. Check the vendor advisory for mitigations.
References
- https://github.com/DamienHarper/auditor-bundle/commit/42ba2940d8b99467de0c806ea5655cc1c6882cd1
- https://github.com/DamienHarper/auditor-bundle/commit/e7deb377fa89677d44973b486d26d6a7374233ae
- https://github.com/DamienHarper/auditor-bundle/security/advisories/GHSA-78vg-7v27-hj67
Get alerted when CVE-2024-45592 or the next vulnerability affects your stack