{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-133770","published":"2026-11-24T13:17:25.220000Z","last_modified":"2026-12-01T20:18:25.823000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":2.1,"severity":"LOW","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/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","source":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","primary":false},"auth":true,"cwes":["CWE-79","CWE-863"],"cpes":[],"cpes_truncated":false,"vendors":["twig"],"products":["twig/twig-twig"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"low","priority_score":19,"links":{"html_es":"/es/cve/CVE-2026-133770/","html_en":"/en/cve/CVE-2026-133770/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-133770","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-133770"},"untrusted":{"vendor_name":"Twig","product_name":"twig/twig","desc_en":"The sandbox allows every method of Twig\\Markup objects, including their public constructor. A sandboxed template can therefore call __construct() on any Markup object that it reaches, and replace its content:\n\n{% do banner.__construct('<script>alert(1)</script>', 'UTF-8') %}\n\nA template gains nothing by rewriting its own output. The impact is on the Markup objects that come from the application and are also rendered elsewhere, like a global in a long-running worker. Their new content then ends up in trusted pages that aren't sandboxed.\n\nThe sandbox no longer allows calling the constructor of Markup objects.","affected":[{"untrusted_vendor":"Twig","untrusted_product":"twig/twig","default_status":"unaffected","versions":[{"version":"0","less_than":"3.31.1","status":"affected"}]}],"references":[{"url":"https://github.com/twigphp/Twig/commit/97b2e40b1165e6a42a197843f96ccb0a55f46f34","tags":[]},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-r34x-hh9h-9q9c","tags":[]},{"url":"https://symfony.com/cve-2026-133770","tags":[]}]}}