{"id":"CVE-2024-45592","aliases":["CVE-2024-45592","GHSA-78vg-7v27-hj67"],"related":[],"kind":"vulnerability","state":"published","title":"auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Summary\nUnescaped entity property enables Javascript injection.\n\n### Details\nI think this is possible because %source_label% in twig macro is not escaped. Therefore script tags can be inserted and are executed.\n\n### PoC\n- clone example project https://github.com/DamienHarper/auditor-bundle-demo\n- create author with FullName <script>alert()</script>\n- delete author\n- view audit of authors\n- alert is displayed\n\n### Impact\npersistent XSS. JS can be injected and executed.","format":"markdown","source":"ghsa"},{"lang":"es","text":"auditor-bundle, anteriormente conocido como DoctrineAuditBundle, integra la librería auditor en cualquier aplicación Symfony 3.4+. Antes de la versión 6.0.0, había una propiedad de entidad sin escape que permitía la inyección de Javascript. Esto es posible porque %source_label% en la macro twig no está escapada. Por lo tanto, las etiquetas de script se pueden insertar y ejecutar. La vulnerabilidad se solucionó en la versión 6.0.0.","source":"nvd"}],"published":"2024-09-10T15:53:10.000Z","modified":"2026-06-17T07:54:31.920Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","score":8.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:L","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 5.2.6","status":"affected"}],"vendor":"DamienHarper","product":"auditor-bundle","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"5.2.6","status":"affected"}],"vendor":"damienharper","product":"auditor-bundle","cpe":"cpe:2.3:a:damienharper:auditor-bundle:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.2.6"}],"ecosystem":"Packagist","package":"damienharper/auditor-bundle","purl":"pkg:composer/damienharper/auditor-bundle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.0.0","fixed":"5.2.6"}],"vendor":"damienharper","product":"auditor-bundle","cpe":"cpe:2.3:a:damienharper:auditor-bundle:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/DamienHarper/auditor-bundle/security/advisories/GHSA-78vg-7v27-hj67","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DamienHarper/auditor-bundle/commit/42ba2940d8b99467de0c806ea5655cc1c6882cd1","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DamienHarper/auditor-bundle/commit/e7deb377fa89677d44973b486d26d6a7374233ae","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45592","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/DamienHarper/auditor-bundle","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-09-10T19:19:37.128Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45592","url":"https://www.cve.org/CVERecord?id=CVE-2024-45592","licence":"CVE Terms of Use","modified":"2024-09-20T18:10:49.795Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-78vg-7v27-hj67","url":"https://github.com/advisories/GHSA-78vg-7v27-hj67","licence":"CC-BY-4.0","modified":"2024-11-28T05:40:25.738Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45592","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45592","licence":"Public domain","modified":"2026-06-17T07:54:31.920Z"}],"updatedAt":"2026-11-25T22:58:45.246Z","epss":{"score":0.00446,"percentile":0.40547,"date":"2026-12-01T12:00:22.000Z"}}