<?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-09-28T14:52:18.008106+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/cve-2026-32040</id>
    <title>CVE-2026-32040 — OpenClaw &lt; 2026.2.23 - HTML Injection via Unvalidated Image MIME Type in Data-URL Interpolation</title>
    <updated>2026-09-28T14:52:18.011940+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> OpenClaw</p>
<p>OpenClaw versions prior to 2026.2.23 contain an html injection vulnerability in the HTML session exporter that allows attackers to execute arbitrary javascript by injecting malicious mimeType values in image content blocks. Attackers can craft session entries with specially crafted mimeType attributes that break out of the img src data-URL context to achieve cross-site scripting when exported HTML is opened.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-32040"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-2ww6-868g-2c56</id>
    <title>GHSA-2ww6-868g-2c56 — OpenClaw Vulnerable to HTML injection via unvalidated image MIME type in data-URL interpolation</title>
    <updated>2026-09-28T14:52:18.012058+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: openclaw</p>
<p>## Summary</p>
<p>The HTML session exporter (`src/auto-reply/reply/export-html/template.js`) interpolates `img.mimeType` directly into `&lt;img src="data:..."&gt;` attributes without validation or escaping. A crafted `mimeType` value (e.g., `x" onerror="alert(1)`) can break out of the attribute context and execute arbitrary JavaScript.</p>
<p>## Impact</p>
<p>An attacker who can control image entries in session data (via crafted tool results or session manipulation) can achieve XSS when the exported HTML is opened. The precondition is tighter than the main XSS finding (requires image content blocks with a malicious mimeType), but exploitation is straightforward.</p>
<p>## Affected components</p>
<p>- `src/auto-reply/reply/export-html/template.js` — line 1032 (tool result images), line 1306 (user message images)</p>
<p>## Reproduction</p>
<p>1. Craft a session entry with an image content block where `mimeType` is set to `image/png" onerror="alert(document.domain)`
2. Export the session to HTML
3. Open the exported HTML — the injected `onerror` fires</p>
<p>## Remediation</p>
<p>- Added `sanitizeImageMimeType()` helper that validates mimeType against a whitelist of known image MIME types
- Falls back to `application/octet-stream` for unrecognized values, preventing attribute breakout</p>
<p>## Fix</p>
<p>https://github.com/openclaw/openclaw/pull/24140</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-2ww6-868g-2c56"/>
  </entry>
</feed>
