Read the docs
TI-2023-25217 Aliases CVE-2023-46734GHSA-q847-2q57-wmr3

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

Priority LOW 28CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00688 52nd percentileScored 2026-11-07
Fix Fixed symfony (symfony): 4.4.51, 5.4.31, 6.3.8symfony/twig-bridge (Packagist): 4.4.51, 5.4.31, 6.3.8+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony2.0.0 to before 4.4.51; 5.0.0 to before 5.4.31; 6.0.0 to before 6.3.84.4.51, 5.4.31, 6.3.8Patch availableCNA
—symfony/twig-bridge (Packagist)2.0.0 to before 4.4.514.4.51Patch availableGHSA-q847-2q57-wmr3
—symfony/twig-bridge (Packagist)5.0.0 to before 5.4.315.4.31Patch availableGHSA-q847-2q57-wmr3
—symfony/twig-bridge (Packagist)6.0.0 to before 6.3.86.3.8Patch availableGHSA-q847-2q57-wmr3
—symfony/symfony (Packagist)2.0.0 to before 4.4.514.4.51Patch availableGHSA-q847-2q57-wmr3
—symfony/symfony (Packagist)5.0.0 to before 5.4.315.4.31Patch availableGHSA-q847-2q57-wmr3
—symfony/symfony (Packagist)6.0.0 to before 6.3.86.3.8Patch availableGHSA-q847-2q57-wmr3
  • symfony Vendorsymfony Affected 2.0.0 to before 4.4.51; 5.0.0 to before 5.4.31; 6.0.0 to before 6.3.8 Fixed in 4.4.51, 5.4.31, 6.3.8 Patch available CNA
  • symfony/twig-bridge (Packagist) Vendor— Affected 2.0.0 to before 4.4.51 Fixed in 4.4.51 Patch available GHSA-q847-2q57-wmr3
  • symfony/twig-bridge (Packagist) Vendor— Affected 5.0.0 to before 5.4.31 Fixed in 5.4.31 Patch available GHSA-q847-2q57-wmr3
  • symfony/twig-bridge (Packagist) Vendor— Affected 6.0.0 to before 6.3.8 Fixed in 6.3.8 Patch available GHSA-q847-2q57-wmr3
  • symfony/symfony (Packagist) Vendor— Affected 2.0.0 to before 4.4.51 Fixed in 4.4.51 Patch available GHSA-q847-2q57-wmr3
  • symfony/symfony (Packagist) Vendor— Affected 5.0.0 to before 5.4.31 Fixed in 5.4.31 Patch available GHSA-q847-2q57-wmr3
  • symfony/symfony (Packagist) Vendor— Affected 6.0.0 to before 6.3.8 Fixed in 6.3.8 Patch available GHSA-q847-2q57-wmr3

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*2.0.0 to before 4.4.51; 5.0.0 to before 5.4.31; 6.0.0 to before 6.3.8Vulnerablesensiolabs
cpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:*2.0.0 to before 4.4.51; 5.0.0 to before 5.4.31; 6.0.0 to before 6.3.8Vulnerablesymfony
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 2.0.0 to before 4.4.51; 5.0.0 to before 5.4.31; 6.0.0 to before 6.3.8 Vulnerable ·sensiolabs
  • cpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:* Versions 2.0.0 to before 4.4.51; 5.0.0 to before 5.4.31; 6.0.0 to before 6.3.8 Vulnerable ·symfony

Remediation

  • Fix · CNA symfony (symfony) Fixed in 4.4.51, 5.4.31, 6.3.8
  • Fix · GHSA-q847-2q57-wmr3 symfony/twig-bridge (Packagist) Fixed in 4.4.51 Advisory →
  • Fix · GHSA-q847-2q57-wmr3 symfony/twig-bridge (Packagist) Fixed in 5.4.31 Advisory →
  • Fix · GHSA-q847-2q57-wmr3 symfony/twig-bridge (Packagist) Fixed in 6.3.8 Advisory →
  • Fix · GHSA-q847-2q57-wmr3 symfony/symfony (Packagist) Fixed in 4.4.51 Advisory →
  • Fix · GHSA-q847-2q57-wmr3 symfony/symfony (Packagist) Fixed in 5.4.31 Advisory →
  • Fix · GHSA-q847-2q57-wmr3 symfony/symfony (Packagist) Fixed in 6.3.8 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-46734
  2. 2026-10-03 Alias added: GHSA-q847-2q57-wmr3

References

Sources