CVE-2026-45072: Symfony is a PHP framework for web and console applications and a set of reusable PHP components
CVE-2026-45072 is a medium-severity flaw (CVSS 5.4) affecting symfony. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.4.24 until 6.4.40, 7.4.12, and 8.0.12, the development profiler file_excerpt Twig filter escapes PHP files through highlight_string() but interpolates lines from non-PHP files directly into <code> elements, allowing stored XSS against a developer who opens an attacker-written file such as var/log/dev.log in the profiler. This issue is fixed in
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 77%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-07-14 |
| Last modified | 2026-07-16 |
Last updated 2026-07-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-45072?
symfony: upgrade to 6.4.40, 7.4.12, 8.0.12. Exact commands for each OS are on this page.
Is CVE-2026-45072 being exploited?
CVE-2026-45072 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-45072 affect?
CVE-2026-45072 affects symfony. Severity is medium (CVSS 5.4). Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.4.24 until 6.4.40, 7.4.12, and 8.0.12, the development profiler file_excerpt Twig filter escapes PHP files through highlight_string() b
How urgent is CVE-2026-45072?
Priority 25/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-45073 HIGH 7.3 UPGRADE Symfony is a PHP framework for web and console applications and a set of reusable PHP components
- CVE-2026-45064 MEDIUM 6.1 UPGRADE Symfony is a PHP framework for web and console applications and a set of reusable PHP components
- CVE-2026-48761 MEDIUM 6.1 UPGRADE Symfony is a PHP framework for web and console applications and a set of reusable PHP components
- CVE-2026-45756 HIGH 7.5 UPGRADE Symfony is a PHP framework for web and console applications and a set of reusable PHP components
- CVE-2026-45754 MEDIUM 5.3 UPGRADE Symfony is a PHP framework for web and console applications and a set of reusable PHP components