{"id":"CVE-2024-45592","published":"2024-09-10T16:00:14Z","modified":"2024-09-20T18:10:49Z","title":"auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped","vendor":"DamienHarper","product":"auditor-bundle","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00446,"percentile":0.39688,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/DamienHarper/auditor-bundle/security/advisories/GHSA-78vg-7v27-hj67","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DamienHarper/auditor-bundle/commit/42ba2940d8b99467de0c806ea5655cc1c6882cd1","tags":["x_refsource_MISC"]},{"url":"https://github.com/DamienHarper/auditor-bundle/commit/e7deb377fa89677d44973b486d26d6a7374233ae","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":7.94},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"damienharper","affectedVersions":[{"vendor":"DamienHarper","product":"auditor-bundle","versions":["< 5.2.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-09-10T19:19:37.128654Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"damienharper/auditor-bundle","vulnerableRanges":["<5.2.6"],"patched":["5.2.6"],"from":["GHSA-78vg-7v27-hj67"],"provenance":"source"}],"summary":{"text":"The auditor-bundle from DamienHarper, which integrates the auditor library into Symfony 3.4+ applications (formerly DoctrineAuditBundle), contains a cross-site scripting flaw in versions before 5.2.6: the %source_label% value in a Twig macro is not escaped, so entity property content is rendered unsanitised. An attacker who can get a crafted entity name into the audit data and have a user with the relevant rights view it, with the user interacting with the page, can have script tags injected and executed in that user's browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:19Z"},"euvd":{"id":"EUVD-2024-2745","exploited":false,"provenance":"source"}}