Openclaw cli: OpenClaw has stored XSS
Affects openclaw-cliSource GCVE Database
CVSS 5.3 Medium : upgrade to 2026.2.23 when convenient.
Data as of 19 Nov 2026, 19:34 UTC
- Patch
- Available – fixed in 2026.2.23
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NWhat to do
Upgrade openclaw-cli to 2026.2.23.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in OpenClaw CLI version 2026.2.23 and later. Users should upgrade to this version or newer to remediate the stored XSS vulnerability. The fix includes escaping raw HTML tokens and metadata fields in the exported HTML and adding image MIME sanitization. No additional mitigation actions are required beyond applying the official fix.
Description
OpenClaw CLI versions up to 2026.2.22-2 have a stored cross-site scripting (XSS) vulnerability in the exported session HTML viewer. This occurs because raw HTML markdown tokens and unescaped metadata fields are rendered without proper sanitization, allowing attacker-controlled JavaScript to execute when opening a crafted exported session file. The vulnerability was patched in version 2026.2.23 by escaping raw HTML tokens and metadata fields and adding image MIME sanitization.