Cross-site scripting in OpenClaw - CVE-2026-32040

 

Cross-site scripting in OpenClaw - CVE-2026-32040

Published: May 1, 2026


Vulnerability identifier: #VU128798
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-32040
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenClaw
Affected software:
OpenClaw

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary JavaScript.

The vulnerability exists due to cross-site scripting in src/auto-reply/reply/export-html/template.js when exporting session data containing crafted image MIME types to HTML. A remote user can supply a crafted mimeType value in an image entry to execute arbitrary JavaScript.

User interaction is required to open the exported HTML file.


How to mitigate CVE-2026-32040

Install security update from vendor's website.

Sources