CVE-2026-45072
Symfony is a PHP framework for web and console applications and a set ...
Overview
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.
Source: OX vulnerability database
Severity
5.4 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/symfony | >=6.4.24, <6.4.40>=7.2.9, <7.4.12>=8.0.0, <8.0.12>=7.2.9, <7.3.0>=7.3.0, <7.4.0+1 more | 6.4.407.4.128.0.12 |
| Composer (PHP) | symfony/twig-bridge | >=6.4.24, <6.4.40 | 6.4.40 |
| Composer (PHP) | symfony/web-profiler-bundle | >=7.2.9, <7.4.12>=8.0.0, <8.0.12>=7.4.0, <7.4.12>=7.2.9, <7.3.0>=7.3.0, <7.4.0 | 7.4.128.0.12 |
Open a package to see all its vulnerabilities.
Operating systems · 3 fixes
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | symfony | 6.4.41+dfsg-0+deb13u1 |
| 14 | symfony | 7.4.12+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 6.4.41+dfsg-0+deb13u1 |
References
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45072.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/twig-bridge/CVE-2026-45072.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/web-profiler-bundle/CVE-2026-45072.yaml
- github.com https://github.com/symfony/symfony
- github.com https://github.com/symfony/symfony/commit/863aa81c61166f1aa74b7732df316f76113acbdb
- github.com https://github.com/symfony/symfony/releases/tag/v6.4.40
- github.com https://github.com/symfony/symfony/releases/tag/v7.4.12
- github.com https://github.com/symfony/symfony/releases/tag/v8.0.12
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-hmr5-2xcr-v8pp
- symfony.com https://symfony.com/cve-2026-45072
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.