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 mali...
Date: 2026-03
Affected: openclaw/openclaw
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-32040
CWE: CWE-79
CVSS: 4.6 (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):