CVE Explore

Twig

12 CVEs in 5 Twig products, including Twig/twig, Cssinliner-Extra, Markdown-Extra. Newest: CVE-2026-133773 (2026-11-24).

Twig products with known CVEs

ProductCVEs
Twig/twig9
Cssinliner-Extra1
Markdown-Extra1
Twig/html-Extra1
Twig/markdown-Extra1
Twig CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-1337732026-11-24The html_to_markdown filter of twig/markdown-extra keeps an HtmlConverter for each distinct mapping of options it receives. They're kept in a static array, wit…
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-1337692026-11-24Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of html_cva(). A sandb…
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…
CVE-2026-46637Medium5.42026-07-14Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], ca…