CVE-2026-45072
Fixed in a distro release EPSS <1%CVSS 2.0
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.
Products: symfony, symfony twig-bridge, symfony web-profiler-bundle
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Packagist | symfony/symfony | 6.4.40 |
| Packagist | symfony/symfony | 7.4.12 |
| Packagist | symfony/symfony | 8.0.12 |
| Packagist | symfony/twig-bridge | 6.4.40 |
| Packagist | symfony/web-profiler-bundle | 7.4.12 |
| Packagist | symfony/web-profiler-bundle | 8.0.12 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 13 | symfony | 6.4.41+dfsg-0+deb13u1 |
| Debian 14 | symfony | 7.4.12+dfsg-1 |
| Ubuntu 16.04 LTS | symfony | no fix |
| Ubuntu 25.10 | symfony | no fix |
| Ubuntu 26.04 LTS | symfony | no fix |
| Ubuntu 26.10 | symfony | no fix |
| Ubuntu Pro 18.04 LTS | symfony | no fix |
| Ubuntu Pro 20.04 LTS | symfony | no fix |
| Ubuntu Pro 22.04 LTS | symfony | no fix |
| Ubuntu Pro 24.04 LTS | symfony | no fix |