CVE-2023-46734

MEDIUM CVSS 3.1: 6.1 EPSS 0.81%
Updated Jul 29, 2026
Sensiolabs
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions 2.0.0 — 6.3.8
Fixed In 4.4.51
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Sensiolabs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 7

Configuration From (including) Up to (excluding)
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
— —
Sensiolabs Symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
2.0.0 4.4.51
Sensiolabs Symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
5.0.0 5.4.31
Sensiolabs Symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
6.0.0 6.3.8
Symfony Twig-Bridge
cpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:*
2.0.0 4.4.51
Symfony Twig-Bridge
cpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:*
5.0.0 5.4.31
Symfony Twig-Bridge
cpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:*
6.0.0 6.3.8