What’s Vulnerable › Vulnerabilities
CVE-2026-32040: OpenClaw < 2026.2.23 - HTML Injection via Unvalidated Image MIME Type in Data-URL Interpolation
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-19 · updated 2026-06-17
- Weakness: CWE-79
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
- OpenClaw: before 2026.2.23 — fixed in 2026.2.23
How to fix
Upgrade to a fixed version: OpenClaw 2026.2.23. Check the vendor advisory for mitigations.
References
- https://github.com/openclaw/openclaw/pull/24140
- https://github.com/openclaw/openclaw/security/advisories/GHSA-2ww6-868g-2c56
- https://www.vulncheck.com/advisories/openclaw-html-injection-via-unvalidated-image-mime-type-in-data-url-interpolation
Get alerted when CVE-2026-32040 or the next vulnerability affects your stack