Description
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, validation messages are not escaped, which can lead to XSS when user input is included. This is related to symfony/framework-bundle.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | symfony | 3.4.22+dfsg-2 | — |
| Debian 13 | symfony | 3.4.22+dfsg-2 | — |
| Debian 12 | symfony | 3.4.22+dfsg-2 | — |
| Debian 9 | symfony | 2.8.7+dfsg-1.3+deb9u2 | DSA-4441-1 |
| Debian 8 | symfony | 2.3.21+dfsg-4+deb8u5 | DLA-1778-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | symfony | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | symfony | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
moften/Symfony-CVE-Scanner-PoC- ★ 0 · May 7, 2025
CVE-2021-21424 - CRLF Injection - CVE-2021-41268 - Host Header Injection - CVE-2022-24894 - WebProfiler abierto - CVE-2019-10909 - Directory Traversal
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/core | >= 8.0.0, < 8.5.15 | 8.5.15 | GHSA-g996-q5r8-w7g2 |
| Packagist | drupal/core | >= 8.6.0, < 8.6.15 | 8.6.15 | GHSA-g996-q5r8-w7g2 |
| Packagist | drupal/drupal | >= 8.0.0, < 8.5.15 | 8.5.15 | GHSA-g996-q5r8-w7g2 |
| Packagist | drupal/drupal | >= 8.6.0, < 8.6.15 | 8.6.15 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/framework-bundle | >= 2.7.0, < 2.7.51 | 2.7.51 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/framework-bundle | >= 2.8.0, < 2.8.50 | 2.8.50 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/framework-bundle | >= 3.0.0, < 3.4.26 | 3.4.26 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/framework-bundle | >= 4.0.0, < 4.1.12 | 4.1.12 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/framework-bundle | >= 4.2.0, < 4.2.7 | 4.2.7 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/symfony | >= 2.7.0, < 2.7.51 | 2.7.51 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/symfony | >= 2.8.0, < 2.8.50 | 2.8.50 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/symfony | >= 3.0.0, < 3.4.26 | 3.4.26 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/symfony | >= 4.0.0, < 4.1.12 | 4.1.12 | GHSA-g996-q5r8-w7g2 |
| Packagist | symfony/symfony | >= 4.2.0, < 4.2.7 | 4.2.7 | GHSA-g996-q5r8-w7g2 |
Advisories 3
- DSA-4441-1 symfony - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1778-1 symfony - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2022-1948 Drupal: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 11, 2024