NetSight
medium6.1

CVE-2023-46734

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

Impact

### 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.

Affected packages

EcosystemPackageAffectedFixed in
composersymfony/twig-bridge>= 2.0.0, < 4.4.514.4.51
composersymfony/symfony>= 2.0.0, < 4.4.514.4.51

Affected products

VendorProductAffected versions
DebianDebian Linux
Version 10.0
SensiolabsSymfony
from 2.0.0 before 4.4.51
from 5.0.0 before 5.4.31
from 6.0.0 before 6.3.8
SymfonyTwig-Bridge
from 2.0.0 before 4.4.51
from 5.0.0 before 5.4.31
from 6.0.0 before 6.3.8

Weakness classification

References