VDB

CVE-2023-46734

CVE-2023-46734 PUBLISHED CVSS 6.1 MEDIUM

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

Reported by github_m · Published November 10, 2023

symfony/twig-bridge is fixed in 6.3.8, 5.4.31 and 4.4.51 (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
symfony/twig-bridgePackagist6.3.8, 5.4.31, 4.4.51
symfony/symfonyPackagist6.3.8, 5.4.31, 4.4.51
symfony/serializerPackagist6.3.8, 5.4.31, 4.4.51
twigsensiolabs6.3.8, 5.4.31, 4.4.51

Risk scores

CVSS 3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
symfonysymfony>= 2.0.0, < 4.4.51, >= 5.0.0, < 5.4.31, >= 6.0.0, < 6.3.8
symfonytwig-bridge6.0.0, 5.0.0, 2.0.0
symfonysymfony2.0.0, 5.0.0, 6.0.0
symfonyserializer2.0.0, 5.0.0, 6.0.0
symfonysymfony6.0.0, 5.0.0, 2.0.0
symfonysecurity-http2.0.0, 5.0.0, 6.0.0

Timeline

  • Nov 10, 2023 CVE Published
  • Nov 11, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 16, 2025 PoC Published
  • Jan 28, 2026 Security Advisory
  • Jan 28, 2026 CVE Updated
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-46734
vulnetix vdb fixes CVE-2023-46734

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-46734/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›