CVE-2024-45592
PHP vulnerability analysis and mitigation

Overview

auditor-bundle (formerly known as DoctrineAuditBundle), a library that integrates auditor functionality into Symfony 3.4+ applications, was found to contain a cross-site scripting vulnerability (CVE-2024-45592). Prior to version 5.2.6, an unescaped entity property enabled JavaScript injection through the %source_label% parameter in a twig macro that was not properly escaped, allowing script tags to be inserted and executed. The vulnerability was discovered on September 10, 2024, and has been fixed in versions 6.0.0 and 5.2.6 (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The CVSS v3.1 severity ratings differ between assessments, with GitHub scoring it as 8.2 HIGH (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L) and NVD scoring it as 6.1 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). The vulnerability specifically exists in the twig macro where the %source_label% parameter is not properly escaped, enabling persistent XSS attacks (GitHub Advisory).

Impact

The vulnerability allows for persistent cross-site scripting attacks where malicious JavaScript can be injected and executed in the context of other users' browsers. This could potentially lead to unauthorized access to user data, session hijacking, or other client-side attacks (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in versions 5.2.6 and 6.0.0 by properly escaping the output in the affected twig macro. Users are advised to upgrade to these patched versions (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-47743HIGH8.7
  • PHP logoPHP
  • shopper/framework
NoYesJul 23, 2026
CVE-2026-59931HIGH7.7
  • PHP logoPHP
  • phpoffice/phpspreadsheet
NoYesJul 23, 2026
CVE-2026-59933HIGH7.5
  • PHP logoPHP
  • phpoffice/phpspreadsheet
NoYesJul 23, 2026
CVE-2026-59932HIGH7.5
  • PHP logoPHP
  • phpoffice/phpspreadsheet
NoYesJul 23, 2026
CVE-2026-59943MEDIUM6.3
  • PHP logoPHP
  • dompdf/dompdf
NoYesJul 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management