CVE-2026-45072: sensiolabs symfony Cross-site Scripting
Vulnerability summary
CVE-2026-45072 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in sensiolabs symfony. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.8% of scored vulnerabilities.
Timeline
- 14-07-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated2.0LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- NVDNIST2.0LowCVSS: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
- OSV · UbuntuEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
0.00 pp
From 0.30% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Symfony3 products
- symfony≥ 6.4.24, < 6.4.40 | ≥ 7.2.9, < 7.4.12 | ≥ 8.0.0-BETA1, < 8.0.12
- twig-bridge≥ 6.4.24, < 6.4.40
- web-profiler-bundle≥ 7.2.9, < 7.4.12 | ≥ 8.0.0-BETA1, < 8.0.12
Debian1 product
- symfony< 6.4.41+dfsg-0+deb13u1 | < 7.4.12+dfsg-1
Sensiolabs1 product
- symfony≥ 6.4.24, < 6.4.40 | ≥ 7.2.9, < 7.4.12 | ≥ 8.0.0, < 8.0.12
Ubuntu1 product
- symfonyAll versions (No fix recorded)
4 vendors · 6 products
References
9 links- github.com/symfony/symfony/security/advisories/GHSA-hmr5-2xcr-v8ppX Refsource CONFIRMPatchVendor Advisory
- symfony.com/blog/…REPORT