Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
symfony
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/twig-bridge Packagist |
|
|
| symfony/symfony Packagist |
symfony
| Product | Affected | Fixed in |
|---|---|---|
| symfony/twig-bridge Packagist |
|
|
| symfony/symfony Packagist |
≥ 2.0.0 · < 4.4.51≥ 5.0.0 · < 5.4.31≥ 6.0.0 · < 6.3.8
|
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.
From the CVE record · GitHub_M
Some Twig filters in Symfony's CodeExtension mark their output as safe HTML without ensuring the input is safe. If untrusted input reaches an affected filter, its output may enable cross-site scripting. The input does not specify authentication or user-interaction requirements.
Check installations of symfony/twig-bridge or symfony/symfony in versions >=2.0.0 <4.4.51, >=5.0.0 <5.4.31, or >=6.0.0 <6.3.8.