Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3
Patch x_refsource_misc
https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54
Scores
CVSS v3
6.1
EPSS
0.0242
EPSS Percentile
85.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (4)
sensiolabs/symfony
2.0.0 - 4.4.51
sensiolabs/twig
2.0.0 - 4.4.51
symfony/symfony
2.0.0 - 4.4.51Packagist
symfony/twig-bridge
2.0.0 - 4.4.51Packagist
Published
Nov 10, 2023
Tracked Since
Feb 18, 2026