CVE-2026-32040
OpenClaw versions prior to 2026.2.23 contain an html injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openclaw/openclaw/pull/24140
- github.com/openclaw/openclaw/security/advisories/GHSA-2ww6-868g-2c56
- www.vulncheck.com/advisories/openclaw-html-injection-via-unvalidated-image-mime-type-in-da
- github.com/openclaw/openclaw/commit/f3adf142c195000cbde31200626a1d8c8b716df9
- nvd.nist.gov/vuln/detail/CVE-2026-32040
- github.com/advisories/GHSA-2ww6-868g-2c56
- nvd.nist.gov/vuln/detail/CVE-2026-32040
- cve.org/CVERecord?id=CVE-2026-32040
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.