Where
-Infinity
0
Severity
2.3
AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of htmlcva(). A sandboxed template could therefore pass any object of its context, and print the private and protected properties of that object:

{{ htmlcva('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 htmlcva 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.

First published (updated )
Severity
2.3
AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of htmlcva(). A sandboxed template could therefore pass any object of its context, and print the private and protected properties of that object:

{{ htmlcva('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 htmlcva 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.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203