CVE-2026-66421 Details
Description
OpenClaw Dashboard contains a stored cross-site scripting vulnerability that allows unauthenticated remote attackers to execute arbitrary JavaScript in the administrator's browser session by injecting HTML markup into agent transcript messages processed through the sessions API. Attackers can craft a message containing inline event handler payloads such as an img tag with an onerror attribute within the 60-character rendering budget, which is stored in the session transcript and interpolated unsanitized into innerHTML on the default landing page, allowing theft of session tokens and unauthorized calls to authenticated administrative endpoints including agent instruction file modification.
A stored cross-site scripting vulnerability has been identified in OpenClaw Dashboard versions through 1.1.0. This vulnerability allows unauthenticated remote attackers to execute arbitrary JavaScript in the administrator's browser session. The issue arises from the injection of HTML markup into agent transcript messages, which are processed through the sessions API without proper sanitization. Attackers can exploit this by crafting messages that include inline event handler payloads, such as an image tag with an onerror attribute, within a 60-character limit. Once injected, the malicious script is executed when the administrator views the sessions page, leading to the theft of session tokens and unauthorized access to authenticated administrative endpoints, including modification of agent instruction files.
HTML-encode the 'lastMessage', 'label', and 'key' session fields before inserting them into the HTML. Alternatively, use 'textContent' to set the cell values. Remove 'unsafe-inline' from the Content Security Policy to prevent script execution from injected HTML.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/theopaid/Stored-Cross-Site-Scripting-Via-Agent-Messages-Leading-To-Session-Token-Theft-openclaw-dashboard- | CISA-ADP | ExploitMitigationThird Party Advisory |
| https://github.com/theopaid/Stored-Cross-Site-Scripting-Via-Agent-Messages-Leading-To-Session-Token-Theft-openclaw-dashboard- | [email protected] | ExploitMitigationThird Party Advisory |
| https://github.com/tugcantopaloglu/openclaw-dashboard | [email protected] | Product |
| https://www.vulncheck.com/advisories/openclaw-dashboard-stored-xss-via-lastmessage-session-field | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tugcantopaloglu openclaw agent dashboard | <= 1.1.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | New CVE Received | [email protected] |