Home / symfony / symfony / CVE-2023-46734
CVE-2023-46734: is it exploited, and which versions of symfony are affected and fixed?
CVE-2023-46734 is a cross-site scripting (XSS) vulnerability in symfony. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: symfony/twig-bridge from 2.0.0 before 4.4.51, symfony/twig-bridge from 5.0.0 before 5.4.31, symfony/twig-bridge from 6.0.0 before 6.3.8 and 3 more (GitHub advisory GHSA-q847-2q57-wmr3). Fixed in 4.4.51, 5.4.31 and 6.3.8 (GitHub advisory GHSA-q847-2q57-wmr3). Severity: Medium (6.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2023-46734?
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
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.
From the CVE record by GitHub_M, last updated February 13, 2025, 17:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| symfony | symfony | >= 2.0.0, < 4.4.51 >= 5.0.0, < 5.4.31 >= 6.0.0, < 6.3.8 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | symfony/twig-bridge | >= 2.0.0, < 4.4.51 | 4.4.51 | GHSA-q847-2q57-wmr3 |
| Packagist | symfony/twig-bridge | >= 5.0.0, < 5.4.31 | 5.4.31 | GHSA-q847-2q57-wmr3 |
| Packagist | symfony/twig-bridge | >= 6.0.0, < 6.3.8 | 6.3.8 | GHSA-q847-2q57-wmr3 |
| Packagist | symfony/symfony | >= 2.0.0, < 4.4.51 | 4.4.51 | GHSA-q847-2q57-wmr3 |
| Packagist | symfony/symfony | >= 5.0.0, < 5.4.31 | 5.4.31 | GHSA-q847-2q57-wmr3 |
| Packagist | symfony/symfony | >= 6.0.0, < 6.3.8 | 6.3.8 | GHSA-q847-2q57-wmr3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 12, 2023. Summary: Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| debian | debian linux | 10.0 | operating system |
| sensiolabs | symfony | from 2.0.0 before 4.4.51 | application |
| sensiolabs | symfony | from 5.0.0 before 5.4.31 | application |
| sensiolabs | symfony | from 6.0.0 before 6.3.8 | application |
| symfony | twig-bridge | from 2.0.0 before 4.4.51 | application |
| symfony | twig-bridge | from 5.0.0 before 5.4.31 | application |
| symfony | twig-bridge | from 6.0.0 before 6.3.8 | application |
NVD analysis (status Analyzed), last modified July 29, 2026, 18:36 UTC.
How severe is CVE-2023-46734?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-46734 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 3, 2024)
- EPSS
- 0.81% probability of exploitation activity in the next 30 days, percentile 58.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3 x_refsource_CONFIRM
- https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54 x_refsource_MISC
- https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2023/11/msg00019.html
When was it published, and where is the official record?
- Reserved
- October 25, 2023
- Published
- November 10, 2023, 17:49 UTC
- CVE record updated
- February 13, 2025, 17:14 UTC by GitHub_M
- NVD
- Analyzed, last modified July 29, 2026, 18:36 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect symfony?
- Nov 6, 2026CVE-2026-118514 symfony: incorrect authorization
- Jul 14, 2026CVE-2026-48761 symfony: cross-site scripting (XSS)
- Jul 14, 2026CVE-2026-48747 symfony: cryptographic signature not verified
- Jul 14, 2026CVE-2026-48489 symfony: incorrect authorization
- Jul 14, 2026CVE-2026-48760 symfony: user Interface (UI) Misrepresentation of Critical Information
- Jul 14, 2026CVE-2026-48736 symfony: incomplete List of Disallowed Inputs
- Jul 14, 2026CVE-2026-48784 symfony: improper Encoding or Decoding of Data
- Jul 14, 2026CVE-2026-45068 symfony: argument injection
Questions about CVE-2023-46734
Is CVE-2023-46734 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.81% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of symfony are affected by CVE-2023-46734?
symfony/twig-bridge from 2.0.0 before 4.4.51, symfony/twig-bridge from 5.0.0 before 5.4.31, symfony/twig-bridge from 6.0.0 before 6.3.8, symfony/symfony from 2.0.0 before 4.4.51, symfony/symfony from 5.0.0 before 5.4.31 and symfony/symfony from 6.0.0 before 6.3.8, per the GitHub advisory GHSA-q847-2q57-wmr3. The tables above give every range the sources list.
Which version fixes CVE-2023-46734?
4.4.51, 5.4.31 and 6.3.8, per the GitHub advisory GHSA-q847-2q57-wmr3. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-46734?
Medium (6.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-46734?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.