CVE-2026-45072
Last modified
CVE-2026-45072 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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 versions 6.4.40, 7.4.12, and 8.0.12.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sensiolabs | Symfony | >= 6.4.24, < 6.4.40 |
| Sensiolabs | Symfony | >= 7.2.9, < 7.4.12 |
| Sensiolabs | Symfony | >= 8.0.0, < 8.0.12 |
References
- https://github.com/symfony/symfony/security/advisories/GHSA-hmr5-2xcr-v8ppPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45072?
How severe is CVE-2026-45072?
How do I fix CVE-2026-45072?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45067### Description `Symfony\Component\Mime\Address` is the val…6.3
- CVE-2026-45068Symfony is a PHP framework for web and console applications …7.5
- CVE-2026-45069Symfony is a PHP framework for web and console applications …9.1
- CVE-2026-4507A vulnerability was determined in Mindinventory MindSQL up t…6.3
- CVE-2026-45070Symfony is a PHP framework for web and console applications …6.5
- CVE-2026-45071Symfony is a PHP framework for web and console applications …7.5
- CVE-2026-45073Symfony is a PHP framework for web and console applications …7.3
- CVE-2026-45074Symfony is a PHP framework for web and console applications …8.1
- CVE-2026-45075Symfony is a PHP framework for web and console applications …8.2
- CVE-2026-45076Synapse is an open source Matrix homeserver implementation. …2.7
- CVE-2026-45077Symfony is a PHP framework for web and console applications …8.6
- CVE-2026-45078Synapse is an open source Matrix homeserver implementation. …5.5
Are you affected by CVE-2026-45072?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
