<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T04:26:55.167198+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-gj48-438w-jh9v</id>
    <title>GHSA-gj48-438w-jh9v — Bleach clean() / Cleaner() fails to sanitize dangerous URI schemes in allowed formaction attributes</title>
    <updated>2026-10-07T04:26:55.169563+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: bleach</p>
<p>### Summary</p>
<p>Bleach `clean()` / `Cleaner()` fails to sanitize dangerous URI schemes in allowed `formaction` attributes.</p>
<p>Bleach applies URI protocol sanitization only to attributes listed in `attr_val_is_uri`. While URI-bearing attributes such as `action`, `href`, `src`, and `poster` are included in that set, `formaction` is not. As a result, if a downstream application explicitly allows `formaction` on submit-capable controls in untrusted HTML, Bleach preserves dangerous values such as `javascript:alert(1)` instead of stripping them.</p>
<p>This can lead to **submit-triggered JavaScript execution** in applications that rely on Bleach to sanitize untrusted HTML and allow the relevant tag/attribute combination.</p>
<p>---</p>
<p>### Details</p>
<p>The issue appears to be a URI-sanitization coverage gap in Bleach’s sanitizer logic.</p>
<p>Relevant code paths:</p>
<p>* `bleach/sanitizer.py` — `BleachSanitizerFilter.allow_token` (around line 553)
* `bleach/_vendor/html5lib/filters/sanitizer.py` — `attr_val_is_uri` (around line 525)</p>
<p>In `BleachSanitizerFilter.allow_token`, URI protocol sanitization is only applied when:</p>
<p>```python id="pft79m"
if namespaced_name in self.attr_val_is_uri:
```</p>
<p>However, `(None, 'formaction')` is currently missing from `attr_val_is_uri`.</p>
<p>This creates an inconsistency where `action` is protocol-sanitized, but `formaction` is not.</p>
<p>As a result, if a downstream application allows:</p>
<p>* tags such as `&lt;button&gt;` or `&lt;input&gt;`
* the `formaction` attribute</p>
<p>then Bleach preserves dangerous URI sch…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-gj48-438w-jh9v"/>
  </entry>
</feed>
