CVEfocus › CVE database › CVE-2023-46734

CVE-2023-46734Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

CVSS 6.1 MediumEPSS 0.7% (higher than 50% of CVEs)Published 2023-11-10Updated 2025-02-13Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
4Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04symfonyNot affected
vulnerable_code_not_present
Ubuntu 25.10symfonyNot affected
vulnerable_code_not_present
Ubuntu 22.04symfonyFix pending5.4.4+dfsg-1ubuntu8+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-46734
Ubuntu 20.04symfonyFix pending4.3.8+dfsg-1ubuntu1+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-46734
Ubuntu 18.04symfonyFix pendingUBUNTU-CVE-2023-46734
Ubuntu 16.04symfonyFix pendingUBUNTU-CVE-2023-46734
Debian 14symfonyFixed5.4.31+dfsg-1DEBIAN-CVE-2023-46734
Debian 13symfonyFixed5.4.31+dfsg-1DEBIAN-CVE-2023-46734
Debian 12symfonyFixed5.4.23+dfsg-1+deb12u1DEBIAN-CVE-2023-46734
Packagist librarysymfony/symfonyFixed5.4.31GHSA-q847-2q57-wmr3
Packagist librarysymfony/twig-bridgeFixed5.4.31GHSA-q847-2q57-wmr3

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.