<?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>Thu, 22 Oct 2026 09:27:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-34231 — Slippers: Cross-Site Scripting (XSS) in `attrs` Template Tag</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-34231</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mixxorz slippers&lt;/p&gt;
&lt;p&gt;Slippers is a UI component framework for Django. Prior to version 0.6.3, a Cross-Site Scripting (XSS) vulnerability exists in the {% attrs %} template tag of the slippers Django package. When a context variable containing untrusted data is passed to {% attrs %}, the value is interpolated into an HTML attribute string without escaping, allowing an attacker to break out of the attribute context and inject arbitrary HTML or JavaScript into the rendered page. This issue has been patched in version 0.6.3.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mixxorz slippers&lt;/p&gt;
&lt;p&gt;Slippers is a UI component framework for Django. Prior to version 0.6.3, a Cross-Site Scripting (XSS) vulnerability exists in the {% attrs %} template tag of the slippers Django package. When a context variable containing untrusted data is passed to {% attrs %}, the value is interpolated into an HTML attribute string without escaping, allowing an attacker to break out of the attribute context and inject arbitrary HTML or JavaScript into the rendered page. This issue has been patched in version 0.6.3.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-34231</guid>
    </item>
    <item>
      <title>GHSA-w7rv-gfp4-j9j3 — Slippers Vulnerable to Cross-Site Scripting (XSS) in `attrs` Template Tag</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-w7rv-gfp4-j9j3</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: slippers&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A Cross-site Scripting (XSS) vulnerability exists in the `{% attrs %}` template tag of the `slippers` Django package. When a context variable containing untrusted data is passed to `{% attrs %}`, the value is interpolated into an HTML attribute string without escaping, allowing an attacker to break out of the attribute context and inject arbitrary HTML or JavaScript into the rendered page.&lt;/p&gt;
&lt;p&gt;## Vulnerability details&lt;/p&gt;
&lt;p&gt;### Root cause&lt;/p&gt;
&lt;p&gt;`AttrsNode` is a custom `Node` subclass registered via `register.tag()`. Unlike `register.simple_tag()`, which automatically applies `conditional_escape()` when autoescape is on, custom `Node.render()` methods receive no automatic escaping and are fully responsible for sanitising their output. `attr_string()` fails to do this:&lt;/p&gt;
&lt;p&gt;```python
def attr_string(key: str, value: Any):
    if isinstance(value, bool):
        return key if value else &amp;#34;&amp;#34;
    key = key.replace(&amp;#34;_&amp;#34;, &amp;#34;-&amp;#34;)
    return f&amp;#39;{key}=&amp;#34;{value}&amp;#34;&amp;#39;   # value is not escaped
```&lt;/p&gt;
&lt;p&gt;### Attack scenario&lt;/p&gt;
&lt;p&gt;Given a template that uses `{% attrs %}` with a user-supplied value:&lt;/p&gt;
&lt;p&gt;```django
{% load slippers %}
&amp;lt;input {% attrs type placeholder %}&amp;gt;
```&lt;/p&gt;
&lt;p&gt;```python
render(request, &amp;#34;search.html&amp;#34;, {&amp;#34;placeholder&amp;#34;: request.GET.get(&amp;#34;q&amp;#34;, &amp;#34;&amp;#34;)})
```&lt;/p&gt;
&lt;p&gt;An attacker crafting a request with `q=&amp;#34; onmouseover=&amp;#34;alert(document.cookie)&amp;#34; x=&amp;#34;` produces:&lt;/p&gt;
&lt;p&gt;```html
&amp;lt;input type=&amp;#34;text&amp;#34; placeholder=&amp;#34;&amp;#34; onmouseover=&amp;#34;alert(document.cookie)&amp;#34; x=&amp;#34;&amp;#34;&amp;gt;
```&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;Any template that passes values derived from user input, database…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: slippers&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A Cross-site Scripting (XSS) vulnerability exists in the `{% attrs %}` template tag of the `slippers` Django package. When a context variable containing untrusted data is passed to `{% attrs %}`, the value is interpolated into an HTML attribute string without escaping, allowing an attacker to break out of the attribute context and inject arbitrary HTML or JavaScript into the rendered page.&lt;/p&gt;
&lt;p&gt;## Vulnerability details&lt;/p&gt;
&lt;p&gt;### Root cause&lt;/p&gt;
&lt;p&gt;`AttrsNode` is a custom `Node` subclass registered via `register.tag()`. Unlike `register.simple_tag()`, which automatically applies `conditional_escape()` when autoescape is on, custom `Node.render()` methods receive no automatic escaping and are fully responsible for sanitising their output. `attr_string()` fails to do this:&lt;/p&gt;
&lt;p&gt;```python
def attr_string(key: str, value: Any):
    if isinstance(value, bool):
        return key if value else &amp;#34;&amp;#34;
    key = key.replace(&amp;#34;_&amp;#34;, &amp;#34;-&amp;#34;)
    return f&amp;#39;{key}=&amp;#34;{value}&amp;#34;&amp;#39;   # value is not escaped
```&lt;/p&gt;
&lt;p&gt;### Attack scenario&lt;/p&gt;
&lt;p&gt;Given a template that uses `{% attrs %}` with a user-supplied value:&lt;/p&gt;
&lt;p&gt;```django
{% load slippers %}
&amp;lt;input {% attrs type placeholder %}&amp;gt;
```&lt;/p&gt;
&lt;p&gt;```python
render(request, &amp;#34;search.html&amp;#34;, {&amp;#34;placeholder&amp;#34;: request.GET.get(&amp;#34;q&amp;#34;, &amp;#34;&amp;#34;)})
```&lt;/p&gt;
&lt;p&gt;An attacker crafting a request with `q=&amp;#34; onmouseover=&amp;#34;alert(document.cookie)&amp;#34; x=&amp;#34;` produces:&lt;/p&gt;
&lt;p&gt;```html
&amp;lt;input type=&amp;#34;text&amp;#34; placeholder=&amp;#34;&amp;#34; onmouseover=&amp;#34;alert(document.cookie)&amp;#34; x=&amp;#34;&amp;#34;&amp;gt;
```&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;Any template that passes values derived from user input, database…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-w7rv-gfp4-j9j3</guid>
    </item>
  </channel>
</rss>
