<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 25 Nov 2026 12:07:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-133771 — Missing autoescaping for a variable named like a macro import alias of another scope</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-133771</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; twig/twig&lt;/p&gt;
&lt;p&gt;The escaper considered x.attr, x[&amp;#39;key&amp;#39;] and x.method() safe whenever {% import ... as x %} appeared anywhere in the template. Macro calls haven&amp;#39;t needed this rule since Twig 3.0. It only matched ordinary variables that have the name of an alias imported in another block or macro, and printed them without escaping:&lt;/p&gt;
&lt;p&gt;{% block header %}{% import _self as item %}{{ item.hello() }}{% endblock %}
{% block content %}{% for item in items %}{{ item.body }}{% endfor %}{% endblock %}&lt;/p&gt;
&lt;p&gt;Here, item.body is printed raw. This leads to XSS when the value comes from an attacker. The same happens with an import in a macro and an argument of the same name in another macro. It also happens with a template-level import placed after the block that uses the name.&lt;/p&gt;
&lt;p&gt;The rule is removed. Macro calls through an alias are still considered safe.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; twig/twig&lt;/p&gt;
&lt;p&gt;The escaper considered x.attr, x[&amp;#39;key&amp;#39;] and x.method() safe whenever {% import ... as x %} appeared anywhere in the template. Macro calls haven&amp;#39;t needed this rule since Twig 3.0. It only matched ordinary variables that have the name of an alias imported in another block or macro, and printed them without escaping:&lt;/p&gt;
&lt;p&gt;{% block header %}{% import _self as item %}{{ item.hello() }}{% endblock %}
{% block content %}{% for item in items %}{{ item.body }}{% endfor %}{% endblock %}&lt;/p&gt;
&lt;p&gt;Here, item.body is printed raw. This leads to XSS when the value comes from an attacker. The same happens with an import in a macro and an argument of the same name in another macro. It also happens with a template-level import placed after the block that uses the name.&lt;/p&gt;
&lt;p&gt;The rule is removed. Macro calls through an alias are still considered safe.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-133771</guid>
    </item>
  </channel>
</rss>
