CVE-2026-46637
Published:July 14, 2026
Updated:July 21, 2026
Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.
Affected Packages
twig/cssinliner-extra (PHP):
Affected version(s) >=v2.12.0 <v3.26.0Fix Suggestion:
Update to version v3.26.0twig/cssinliner-extra (PHP):
Affected version(s) >=v2.12.0 <v3.26.0Fix Suggestion:
Update to version v3.26.0twig/markdown-extra (PHP):
Affected version(s) >=v2.12.0 <v3.26.0Fix Suggestion:
Update to version v3.26.0twig/markdown-extra (PHP):
Affected version(s) >=v2.12.0 <v3.26.0Fix Suggestion:
Update to version v3.26.0Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.18