Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.23 | 2026.2.23 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.23 | 2026.2.23 | GHSA-2ww6-868g-2c56 |
Advisories 1
- WID-SEC-2026-0490 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 19, 2026
References
- GitHub Security Advisory (GHSA-2ww6-868g-2c56) vendor-advisory
- Patch PR issue-tracking patch
- VulnCheck Advisory: OpenClaw < 2026.2.23 - HTML Injection via Unvalidated Image MIME Type in Data-URL Interpolation third-party-advisory