XSS in Openclaw
CVE-2026-32040
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (14.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 14.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.001
Affected products
- Openclaw — versions 0, 2026.2.23
Weakness classification (CWE)
References
- github.com/openclaw/openclaw/security/advisories/GHSA-2ww6-868g-2c56 (Exploit, vendor-advisory, Vendor Advisory, third-party-advisory)
- github.com/openclaw/openclaw/pull/24140 (issue-tracking, product, Issue Tracking)
- www.vulncheck.com/advisories/openclaw-html-injection-via-unvalidated-image-mime… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-32040?
- CVE-2026-32040 is a medium-severity vulnerability in Openclaw, classified under Cross-site Scripting. CVSS score: 4.6/10. Published 2026-03-19.
- How severe is CVE-2026-32040?
- Medium severity. CVSS v3 base score is 4.6 out of 10.