GHSA-q847-2q57-wmr3

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

En bref

Publiée
Mise à jour
CVE
CVE-2023-46734
Alias
BIT-symfony-2023-46734
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Description

### Description Some Twig filters in CodeExtension use "is_safe=html" but don't actually ensure their input is safe. ### Resolution Symfony now escapes the output of the affected filters. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c) for branch 4.4. ### Credits We would like to thank Pierre Rudloff for reporting the issue and to Nicolas Grekas for providing the fix.

Paquets affectés

PaquetVersions
Packagist · symfony/twig-bridgeintroduced 2.0.0, fixed 4.4.51
Packagist · symfony/twig-bridgeintroduced 5.0.0, fixed 5.4.31
Packagist · symfony/twig-bridgeintroduced 6.0.0, fixed 6.3.8
Packagist · symfony/symfonyintroduced 2.0.0, fixed 4.4.51
Packagist · symfony/symfonyintroduced 5.0.0, fixed 5.4.31
Packagist · symfony/symfonyintroduced 6.0.0, fixed 6.3.8

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database