Skip to content
Fencer Vulns
medium 6.1

CVE-2023-46734 json

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

published 2023-11-10 2 y ago modified 2026-09-10 1 mo ago also BIT-symfony-2023-46734 , EUVD-2023-3016 , GHSA-q847-2q57-wmr3

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 52%
public exploits
0
none known

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.

Patch / fix

  • packagist symfony/twig-bridge 4.4.51, 5.4.31, 6.3.8
  • packagist symfony/symfony 4.4.51, 5.4.31, 6.3.8
  • bitnami symfony 4.4.51, 5.4.31, 6.3.8
  • sensiolabs symfony 4.4.51, 5.4.31, 6.3.8
  • symfony twig-bridge 4.4.51, 5.4.31, 6.3.8
  • symfony Debian 12 5.4.23+dfsg-1+deb12u1
  • symfony Debian 14, Debian 13 5.4.31+dfsg-1

debian advisories DEBIAN-CVE-2023-46734

  • symfony Ubuntu Pro 20.04 LTS 4.3.8+dfsg-1ubuntu1+esm2
  • symfony Ubuntu Pro 22.04 LTS 5.4.4+dfsg-1ubuntu8+esm1

ubuntu advisories UBUNTU-CVE-2023-46734

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-46734 updated cvss 6.1

php-symfony: potential XSS vulnerabilities in CodeExtension filters

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.69% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
packagist symfony/twig-bridge
>=2.0.0, <4.4.51
>=5.0.0, <5.4.31
>=6.0.0, <6.3.8
4.4.51
5.4.31
6.3.8
packagist symfony/symfony
>=2.0.0, <4.4.51
>=5.0.0, <5.4.31
>=6.0.0, <6.3.8
4.4.51
5.4.31
6.3.8
bitnami symfony
>=2.0.0, <4.4.51
>=5.0.0, <5.4.31
>=6.0.0, <6.3.8
4.4.51
5.4.31
6.3.8

Affected products

  • symfony symfony

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.