Openclaw cli: OpenClaw Vulnerable to HTML injection via unvalidated image MIME type in data-URL interpolation
Affects openclaw-cliSource GCVE Database
Not known to be exploited · CVSS 2.4 Low : upgrade to 2026.2.23 when convenient.
Data as of 17 Nov 2026, 20:25 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.4 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.6 |
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026.2.23
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade openclaw-cli to 2026.2.23.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been applied in versions 2026.2.23 and later. The fix involves sanitizing the image MIME type against a whitelist and defaulting to a safe MIME type for unrecognized values, preventing attribute injection. Users should upgrade to version 2026.2.23 or later to remediate this vulnerability.
Description
OpenClaw CLI contains a vulnerability in its HTML session exporter where image MIME types are interpolated into data-URL image sources without proper validation or escaping. This allows an attacker who can control image MIME types in session data to inject arbitrary JavaScript via crafted MIME types, leading to cross-site scripting (XSS) when the exported HTML is opened. The vulnerability affects versions from 2026.1.29 up to but not including 2026.2.23. A fix has been implemented by adding a sanitization helper that validates MIME types against a whitelist and defaults to a safe value for unrecognized types.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-2ww6-868g-2c56 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-32040 (opens in a new tab)
- github.com/openclaw/openclaw/pull/24140 (opens in a new tab)
- github.com/openclaw/openclaw/commit/f3adf142c195000cbde31200626a1d8c8b716df9 (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- vulncheck.com/advisories/openclaw-html-injection-via-unvalidated-image-mime-type-in-data-url-interpolation (opens in a new tab)