CVE-2026-45072
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.
Published:Jul 14, 2026
Last Modified:Jul 27, 2026
EPS:Jul 14, 2026
EPSS Score:0.00232
CVSS Score:2
Affected Products
Vendor
Product
Action
Vendor
Symfony
Product
Symfony
Symfony
Symfony
Vendor
Symfony
Product
Twig-bridge
Symfony
Twig-bridge
Vendor
Symfony
Product
Web-profiler-bundle
Symfony
Web-profiler-bundle
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
