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.

Published: 2023-11-10 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-46734 is rated Moderate Risk (54.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.59%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-46734

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-03 2.42% 2.59% +0.17%
2 2026-04-21 2.09% 2.42% +0.33%
3 2026-03-30 2.09%

Full EPSS history (22 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-46734

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2023-46734

GitHub Security Advisory for CVE-2023-46734

GHSA-q847-2q57-wmr3 · Severity: medium · Ecosystem: composer — Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

OS Trackers for CVE-2023-46734

vendor priority summary link
debian not yet assigned CVE-2023-46734 not yet assigned priority: Debian including 1 source packages (symfony), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-46734
ubuntu medium CVE-2023-46734 medium priority: Ubuntu including 1 source packages (symfony), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 4, ignored 3, released 3, needed 2. https://ubuntu.com/security/CVE-2023-46734

Affected software / configurations for CVE-2023-46734

Vendor Product Version Raw CPE
sensiolabs symfony >= 2.0.0, < 4.4.51 cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
sensiolabs symfony >= 5.0.0, < 5.4.31 cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
sensiolabs symfony >= 6.0.0, < 6.3.8 cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
sensiolabs twig >= 2.0.0, < 4.4.51 cpe:2.3:a:sensiolabs:twig:*:*:*:*:*:*:*:*
sensiolabs twig >= 5.0.0, < 5.4.31 cpe:2.3:a:sensiolabs:twig:*:*:*:*:*:*:*:*
sensiolabs twig >= 6.0.0, < 6.3.8 cpe:2.3:a:sensiolabs:twig:*:*:*:*:*:*:*:*

References for CVE-2023-46734

cvelogic Threat Intelligence