{"id":"CVE-2024-45592","aliases":["EUVD-2024-2745","GHSA-78vg-7v27-hj67"],"status":"published","title":"auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped","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.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00446,"percentile":0.39255,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-09-10T15:53:10Z","modified":"2026-10-28T02:30:55Z","fixes":[{"ecosystem":"Packagist","package":"damienharper/auditor-bundle","fixed_in":["5.2.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"damienharper/auditor-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.6"}]}]},{"source":"osv","ecosystem":"Packagist","package":"damienharper/auditor-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.6"}]}],"versions":["1.0.0","1.0.1","1.0.10","1.0.11","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.2.0","1.2.1","1.2.2","1.3.0","1.4.0","1.5.0","1.5.1","1.6.0","2.0.0","2.1.0","2.2.0","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","3.0.0","3.1.0","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.3.1","3.3.2","3.4.0","3.4.1","3.4.2","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1.0","4.2.0","5.0.0","5.0.1","5.0.2","5.0.3","5.1.0","5.1.1","5.2.0","5.2.1","5.2.2","5.2.3","5.2.4","5.2.5"]}],"products":[{"vendor":"damienharper","product":"auditor-bundle"}],"references":[{"url":"https://github.com/DamienHarper/auditor-bundle/security/advisories/GHSA-78vg-7v27-hj67","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/DamienHarper/auditor-bundle/commit/42ba2940d8b99467de0c806ea5655cc1c6882cd1","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/DamienHarper/auditor-bundle/commit/e7deb377fa89677d44973b486d26d6a7374233ae","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45592","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-78vg-7v27-hj67"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45592.json","tags":["advisory"]},{"url":"https://github.com/DamienHarper/auditor-bundle","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-45592","title":"auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped","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.","status":"published","published":"2024-09-10T16:00:14.887Z","modified":"2024-09-20T18:10:49.795Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:08.16279Z"}],"euvd":[{"id":"EUVD-2024-2745","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.","status":"published","published":"2024-09-10T16:00:14Z","modified":"2024-09-20T18:10:49Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-03T00:28:17.441522Z"}],"ghsa":[{"id":"GHSA-78vg-7v27-hj67","title":"auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped","description":"### 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 \u003cscript\u003ealert()\u003c/script\u003e\n- delete author\n- view audit of authors\n- alert is displayed\n\n### Impact\npersistent XSS. JS can be injected and executed.\n","status":"published","published":"2024-09-10T15:53:10Z","modified":"2024-11-18T16:27:12Z","cvss":[{"version":"4.0","score":6.3,"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","level":"medium"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:20.833758Z"}],"nvd":[{"id":"CVE-2024-45592","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.","status":"published","published":"2024-09-10T16:15:21.55Z","modified":"2026-06-17T07:54:31.92Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:10:25.561537Z"}],"osv":[{"id":"CVE-2024-45592","title":"auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped","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.","status":"published","published":"2024-09-10T16:00:14.887Z","modified":"2026-10-28T02:30:55.760590298Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:42.790566Z"},{"id":"GHSA-78vg-7v27-hj67","title":"auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped","description":"### 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 \u003cscript\u003ealert()\u003c/script\u003e\n- delete author\n- view audit of authors\n- alert is displayed\n\n### Impact\npersistent XSS. JS can be injected and executed.\n","status":"published","published":"2024-09-10T15:53:10Z","modified":"2024-11-28T05:40:25.738974Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"},{"version":"4.0","score":6.3,"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:40.657155Z"}]}}
