{"id":"CVE-2026-133769","aliases":["GHSA-gv3c-qhxr-hh56"],"title":"Sandbox property allow-list bypass via `html_cva()` variant values","originalDescription":"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:\n\n{{ html_cva('base', {c: {p: user}}).apply({c: 'p'}) }}\n\nVariant 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.\n\nApplications are affected when the sandbox allows the html_cva function and the apply method of Twig\\Extra\\Html\\Cva.\n\nA 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.","severity":{"cvss":2.3,"vector":"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","label":"low"},"exploitation":{"kev":null,"epss":{"score":0.00534,"percentile":0.38583},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"twig/html-extra","range":">=3.12.0, <3.31.1","fixed":"3.31.1"}],"references":[{"url":"https://symfony.com/cve-2026-133769","type":"vendor-advisory"},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56","type":"vendor-advisory"},{"url":"https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11","type":"patch"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133769.json","type":"advisory"},{"url":"https://github.com/twigphp/Twig","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133769","type":"advisory"},{"url":"https://packagist.org","type":"web"}],"sources":[{"name":"nvd","at":"2026-11-24T19:02:21.146Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133769","license":"NVD terms of use","firstSeenAt":"2026-11-24T13:30:19.610Z"},{"name":"osv","at":"2026-11-27T08:12:34.741Z","url":"https://osv.dev/vulnerability/CVE-2026-133769","license":"CC-BY 4.0","firstSeenAt":"2026-11-24T15:09:28.233Z"},{"name":"cvelistV5","at":"2026-11-29T04:45:27.244Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133769","license":"CVE Terms of Use","firstSeenAt":"2026-11-24T13:27:33.569Z"}],"firstSeenAt":"2026-11-24T13:27:33.569Z","publishedAt":"2026-11-24T13:07:52.236Z","modifiedAt":"2026-11-27T07:00:12.286Z"}