{"id":"CVE-2026-133769","aliases":["CVE-2026-133769"],"related":[],"kind":"vulnerability","state":"published","title":"Sandbox property allow-list bypass via `html_cva()` variant values","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-24T13:07:52.236Z","modified":"2026-12-01T20:18:25.647Z","severity":{"scorer":"Symfony","scheme":"CVSS:4.0","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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"Symfony","scheme":"CVSS:4.0","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","score":2.3,"rating":"LOW"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"3.12.0","fixed":"3.31.1","status":"affected"}],"vendor":"Twig","product":"twig/html-extra","package":"twig/html-extra","repo":"https://github.com/twigphp/Twig","source":"cvelist"}],"references":[{"url":"https://symfony.com/cve-2026-133769","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Fabien Potencier"],"assigner":"Symfony","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-30T17:56:44.783Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133769","url":"https://www.cve.org/CVERecord?id=CVE-2026-133769","licence":"CVE Terms of Use","modified":"2026-12-01T19:38:30.923Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133769","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133769","licence":"Public domain","modified":"2026-12-01T20:18:25.647Z"}],"updatedAt":"2026-12-01T20:32:24.817Z","epss":{"score":0.00534,"percentile":0.46516,"date":"2026-12-01T12:00:22.000Z"}}