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 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.
CVE-2026-45072
This medium-severity CVE scores 5.4 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 86% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.4
- EG Score
- 5.4(medium)
- EG Risk
- 24(Track)EG Risk 24/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity54% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 14.1%
- KEV
- Not listed
Published
May 27, 2026
Last Modified
July 16, 2026
Advisory Details (5)
Auto-updated Jul 16, 2026Stored XSS in WebProfiler CodeExtension::fileExcerpt(): Unescaped Non-PHP File Rendering · Advisory · symfony/symfony · GitHub
https://github.com/symfony/symfony/security/advisories/GHSA-hmr5-2xcr-v8ppv8.0.12
Patch available: symfony/symfony v8.0.12
https://github.com/symfony/symfony/releases/tag/v8.0.12v7.4.12
Patch available: symfony/symfony v7.4.12
https://github.com/symfony/symfony/releases/tag/v7.4.12v6.4.40
Patch available: symfony/symfony v6.4.40
https://github.com/symfony/symfony/releases/tag/v6.4.40commit 863aa81c6116 (symfony/symfony)
Patch available: symfony/symfony v6.4.40 (contains commit 863aa81c6116)
https://github.com/symfony/symfony/commit/863aa81c61166f1aa74b7732df316f76113acbdbVendor Advisories for CVE-2026-45072(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(3 across 1 ecosystem)
Packagist(3)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| symfony/symfony | v8.0.0 ... v8.0.9 (12 versions) | 8.0.12 | — |
| symfony/twig-bridge | v6.4.24 ... v6.4.36 (8 versions) | 6.4.40 | — |
| symfony/web-profiler-bundle | v8.0.0 ... v8.0.9 (8 versions) | 8.0.12 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:16 UTCEG score recompute▲ 3.40
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 04:26 UTCNVD updateCVSS v3 → 5.4 · severity → MEDIUM
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-14 18:35 UTCEG score recompute▲ 2.00
- 2026-07-14 18:35 UTCMITRE cvelistV5CVSS v3 → 2 · CVSS v4 → 2
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-05-27 21:35 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-45072?
When was CVE-2026-45072 disclosed?
Is CVE-2026-45072 actively exploited?
What is the CVSS score of CVE-2026-45072?
How do I remediate CVE-2026-45072?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-45072
Is Your Infrastructure Affected by CVE-2026-45072?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.