# CVE-2026-133769: Sandbox property allow-list bypass via `html_cva()` variant values

- Severity: Low 2.3 (CVSS:4.0, scored by Symfony) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-11-24T13:07:52.236Z
- Modified: 2026-12-01T20:18:25.647Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Symfony

## Description

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.

(As written by CVE List.)

## Affected

- twig/html-extra: from 3.12.0 before 3.31.1

## References

- <https://symfony.com/cve-2026-133769> (vendor-advisory)
- <https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56> (vendor-advisory)
- <https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11> (patch)

## Sources

- CVE List: [CVE-2026-133769](https://www.cve.org/CVERecord?id=CVE-2026-133769), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-133769](https://nvd.nist.gov/vuln/detail/CVE-2026-133769), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-133769 · Whole record: https://cve.day/CVE-2026-133769.json · Rebuilt by cve.day 2026-12-01T20:32:24.817Z
