CVE Explore

Twig Twig/twig

9 CVEs affecting Twig Twig/twig. Latest disclosed: 2026-11-24. Critical: 0, High: 0.

Top CVEs affecting Twig Twig/twig
CVESeverityScorePublishedSummary
CVE-2026-1337722026-11-24The guard tag compiles only one of its branches, depending on whether a callable exists. The other branch was still parsed, though. The extends, use, macro and…
CVE-2026-1337712026-11-24The escaper considered x.attr, x['key'] and x.method() safe whenever {% import ... as x %} appeared anywhere in the template. Macro calls haven't needed this r…
CVE-2026-1337702026-11-24The sandbox allows every method of Twig\Markup objects, including their public constructor. A sandboxed template can therefore call __construct() on any Markup…
CVE-2026-1337682026-11-24The join filter converted a value that isn't iterable with (array) $value. For an object, that gives every property, including the private and protected ones…
CVE-2026-1337672026-11-24When the parent of an embed tag was an expression other than a string or a variable, the sandbox didn't see that expression. The functions, filters and tests o…
CVE-2026-1337662026-11-24Since Twig 3.28.0, the sandbox skips the toString() check of an argument whose PHP parameter can't hold a string, like an int. A spread argument was mapped to…
CVE-2026-1337652026-11-24The sandbox checks that a template may call toString() on an object before converting it to a string. Since Twig 3.23.0, assignments like x = obj, and the dest…
CVE-2026-1337642026-11-24The sandbox checks that a template may call toString() on an object before converting it to a string. It didn't check the input of tests. The PHP callable of a…
CVE-2026-1337632026-11-24The sandbox checks that a template may call toString() on an object before converting it to a string. For an object, the is true test evaluates to the object i…