In short
- CVE-2024-45592 is a MEDIUM (CVSS 6.1) vulnerability affecting damienharper/auditor-bundle, auditor-bundle (damienharper).
- Chance of exploitation in the next 30 days (EPSS): 0.45%, higher than 39.0% of all vulnerabilities.
- Fix: update to 5.2.6 or later.
Description
Summary
Unescaped entity property enables Javascript injection.
Details
I think this is possible because %source_label% in twig macro is not escaped. Therefore script tags can be inserted and are executed.
PoC
Impact
persistent XSS. JS can be injected and executed.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free