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

Published Mar 19, 2026
·
Updated

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.

Affected Software

2 affected components
OpenClaw OpenClaw<2026.2.23
OpenClaw Openclaw Node.js<2026.2.23

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenClaw to a version that resolves this vulnerability.

    Fixed in 2026.2.23

Event History

Mar 19, 2026
CVE Published
via MITRE·10:07 PM
Data Sourced
via MITRE·10:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-32040?

CVE-2026-32040 is considered a high-severity vulnerability due to the potential for arbitrary JavaScript execution.

2

How do I fix CVE-2026-32040?

To fix CVE-2026-32040, upgrade OpenClaw to version 2026.2.23 or later.

3

What type of vulnerability is CVE-2026-32040?

CVE-2026-32040 is an HTML injection vulnerability caused by unvalidated image MIME types.

4

Who is affected by CVE-2026-32040?

Users of OpenClaw versions prior to 2026.2.23 are affected by CVE-2026-32040.

5

What can attackers do with CVE-2026-32040?

Attackers can exploit CVE-2026-32040 to inject malicious JavaScript into web pages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203