# CVE-2026-32040: OpenClaw < 2026.2.23 - HTML Injection via Unvalidated Image MIME Type in Data-URL Interpolation

- Severity: Low 2.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-03T18:30:39.000Z
- Modified: 2026-11-08T14:01:56.880Z
- Also known as: GHSA-2ww6-868g-2c56
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.2.23 (not affected: 2026.2.23)
- openclaw (npm): before 2026.2.23

## Every score

- VulnCheck: CVSS:4.0 2.4 Low `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.6 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-2ww6-868g-2c56> (exploit, vendor-advisory, web)
- <https://github.com/openclaw/openclaw/pull/24140> (issue-tracking, patch, web)
- <https://www.vulncheck.com/advisories/openclaw-html-injection-via-unvalidated-image-mime-type-in-data-url-interpolation> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32040> (advisory)
- <https://github.com/openclaw/openclaw/commit/f3adf142c195000cbde31200626a1d8c8b716df9> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-32040](https://www.cve.org/CVERecord?id=CVE-2026-32040), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-2ww6-868g-2c56](https://github.com/advisories/GHSA-2ww6-868g-2c56), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-32040](https://nvd.nist.gov/vuln/detail/CVE-2026-32040), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32040 · Whole record: https://cve.day/CVE-2026-32040.json · Rebuilt by cve.day 2026-11-25T22:59:16.215Z
