CVE-2026-46628

MEDIUM CVSS 4.0: 5.1 EPSS 0.29%
Updated Oct 25, 2026
Symfony
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 3.26.0
Fixed In 3.26.0
Type CWE-116 (Improper Encoding or Escaping of Output)
Vendor Symfony
Public PoC No

Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is applied to untrusted input. This issue is fixed in version 3.26.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

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

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Symfony Twig
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
— 3.26.0