Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-133769
Published:November 24, 2026
Updated:November 29, 2026
Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of html_cva(). A sandboxed template could therefore pass any object of its context, and print the private and protected properties of that object: {{ html_cva('base', {c: {p: user}}).apply({c: 'p'}) }} Variant maps that are ArrayAccess objects were also read with a key that the template chooses, without the property check of the sandbox. The template then printed the offsets that the object returned. Applications are affected when the sandbox allows the html_cva function and the apply method of Twig\Extra\Html\Cva. A value that isn't an array is now treated as a single item, so objects are dropped and never match a variant. Variant maps are also only used when they're arrays.
Affected Packages
https://github.com/twigphp/Twig.git (GITHUB):
Affected version(s) =v4.0.0-alpha1 <v4.0.0-beta1
Fix Suggestion:
Update to version v4.0.0-beta1
https://github.com/twigphp/Twig.git (GITHUB):
Affected version(s) >=v3.12.0 <v3.31.1
Fix Suggestion:
Update to version v3.31.1
twig/html-extra (PHP):
Affected version(s) >=v3.12.0 <v3.31.1
Fix Suggestion:
Update to version v3.31.1
twig/html-extra (PHP):
Affected version(s) =v4.0.0-alpha1 <v4.0.0-beta1
Fix Suggestion:
Update to version v4.0.0-beta1
Do you need more information?
Contact Us
CVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.53