{"id":"CVE-2026-32040","published":"2026-03-19T22:07:13Z","modified":"2026-11-08T14:01:56Z","title":"OpenClaw < 2026.2.23 - HTML Injection via Unvalidated Image MIME Type in Data-URL Interpolation","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00177,"percentile":0.07381,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-2ww6-868g-2c56","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/pull/24140","tags":["issue-tracking","patch"]},{"url":"https://www.vulncheck.com/advisories/openclaw-html-injection-via-unvalidated-image-mime-type-in-data-url-interpolation","tags":["third-party-advisory"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":1.48},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.2.23"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.2.23"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-21T03:12:48.792622Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.2.23"],"patched":["2026.2.23"],"from":["GHSA-2ww6-868g-2c56"],"provenance":"source"}],"summary":{"text":"OpenClaw versions prior to 2026.2.23 contain an HTML injection flaw in the HTML session exporter, where unvalidated mimeType values in image content blocks are interpolated into data URLs. An attacker who can craft session entries with malicious mimeType attributes can break out of the img src context to run arbitrary JavaScript when the exported HTML is opened, which requires a local attacker with low privileges and user interaction (the victim opening the exported file).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:00Z"},"euvd":{"id":"EUVD-2026-13328","exploited":false,"provenance":"source"}}