These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.
A memory consumption vulnerability exists in twig/markdown-extra due to unbounded cache growth. The html_to_markdown filter keeps an HtmlConverter for each distinct mapping of options it receives in a static array with no size limit or eviction. A template passing options taken from input or a sandboxed template can make this cache grow without limit, filling the memory of long-running workers.
CVE-2026-133772 is a low-severity vulnerability in the Twig templating engine's handling of the `guard` tag. A sandboxed template could bypass the allow-list via the branch of a `guard` tag that isn't selected, potentially allowing for unintended template extensions, block imports, or macro definitions. The vulnerability occurs when a `guard` tag is used, and only one of its branches is compiled based on the existence of a callable. However, the other branch is still parsed, allowing it to register effects on the template, such as extends, use, macro, and block tags. These registrations occur even though the sandbox does not see these tags because the branch is not compiled. Defe
A vulnerability in Twig, a templating engine for PHP, allows for missing autoescaping of variables named like macro import aliases in certain scopes. This oversight potentially leads to cross-site scripting (XSS) attacks when variable values originate from an attacker. The vulnerability is particularly concerning in applications that utilize user-input data. Defenders and developers using Twig, especially those maintaining applications with user-input data, should assess exposure and prioritize updates to prevent potential XSS attacks. The vulnerability occurs when using macro import aliases in certain scopes, allowing variables to be printed without proper escaping. This issue is
CVE-2026-133770 is a vulnerability in the Twig templating engine that allows sandboxed templates to rewrite application-owned `Markup` objects through their constructor. This can lead to content replacement in trusted pages that aren't sandboxed. The vulnerability has a CVSS score of 2.1 and is considered low severity. Affected product deployments should be reviewed for exposure, and owners should prioritize verifying the version of Twig in use and applying the patch from the vendor. The vulnerability allows sandboxed templates to call the constructor of `Markup` objects and replace their content, potentially leading to content replacement in trusted pages.
A sandbox property allow-list bypass via the `join` filter on non-iterable objects was found in Twig. This issue allows a sandboxed template to print properties that the policy denies, potentially leading to information disclosure. The vulnerability has a CVSS score of 5.3 and a severity of MEDIUM. Defenders should assess exposure and prioritize patching. The issue arises from the join filter converting non-iterable values, including objects, which can expose private and protected properties.
CVE-2026-133767 is a MEDIUM-severity vulnerability in the Twig templating engine. A sandboxed template allowed to use embed could call any function, filter or test, and any __toString() method due to a bypass via a dynamic embed parent expression. This vulnerability allows potential code execution through bypass of sandbox restrictions. Defenders should verify exposure, especially in deployments using user-supplied input in template expressions, and ensure version 3.31.1 or later of Twig/twig is used.
A sandbox bypass vulnerability exists in Twig, a templating engine for PHP, versions 3.28.0 up to but not including 3.31.1. The issue arises from the handling of spread arguments in sandboxed templates, allowing a template to call a denied __toString() method. This could potentially lead to security issues if an application uses affected versions of Twig and allows certain functions, filters, or tests in the sandbox.
A sandbox bypass vulnerability was found in Twig, a templating engine for PHP. The vulnerability occurs when using assignment and destructuring expressions in a sandboxed template, allowing a template to call a denied __toString() method. This issue can be exploited by an attacker to bypass the sandbox and execute arbitrary code. Defenders should assess exposure and prioritize patching or mitigation. The vulnerability was addressed in Twig version 3.31.1. Affected applications using Twig 3.23.0 or later but less than 3.31.1 should be updated or mitigated.
A sandbox bypass vulnerability exists in Twig, a PHP templating engine, when using custom tests that convert input to strings. This could allow a user with limited privileges to execute code outside the sandbox. The vulnerability is caused by insufficient checks on custom test inputs in Twig's sandbox. Applications are affected when they register such a test and allow it in the sandbox. No built-in test is affected. The sandbox now checks the input of tests like the input of filters. The built-in tests that never convert their input to a string still skip the check.
A sandbox bypass vulnerability exists in Twig, a templating engine for PHP. The vulnerability occurs when the `is true` test is used, allowing a sandboxed template to print an object through a denied `toString()` method. This could potentially lead to data exposure in certain scenarios. Defenders should assess their exposure, especially in deployments processing user-supplied data, and prioritize verification. The vulnerability is addressed in version 3.31.1 or later. Additional context can be found in the CVE Program record and NVD vulnerability detail.