Summary
CVE-2026-66421 is a stored cross-site scripting (XSS) vulnerability in OpenClaw Dashboard (openclaw-dashboard by tugcantopaloglu), a web-based monitoring and management interface for OpenClaw AI agents. An unauthenticated remote attacker can inject arbitrary HTML and JavaScript into agent transcript messages via the sessions API; the payload is stored server-side and executes automatically in the administrator’s browser the next time the default dashboard landing page loads. The vulnerability carries a CVSS v3.1 score of 9.3 (Critical) and no vendor patch has been released as of the date of this advisory.
Technical details
- Root cause: The sessions API endpoint (
GET /api/sessions) returns agent message content unsanitized in thelastMessagefield. The dashboard front-end renders session rows by inserting this value directly into the DOM viainnerHTMLwithout applying HTML encoding. A permissive Content Security Policy that allows'unsafe-inline'scripts removes the last browser-side mitigation, enabling injected event handlers to execute freely. - Trigger conditions: An attacker sends a message containing an HTML event-handler payload — for example, an
<img>tag with anonerrorattribute — to any OpenClaw agent through an available chat channel or webhook. No dashboard credentials are required. The payload must fit within the 80-character field truncation limit applied during extraction. - Attack vector: Network-accessible and unauthenticated. The stored payload executes automatically when an administrator opens the default dashboard view, requiring no interaction beyond that ordinary page load.
- Impact: Successful exploitation enables theft of the administrator’s session token and unauthenticated calls to privileged administrative endpoints — including modification of agent instruction files — resulting in full dashboard compromise and the ability to manipulate the behavior of underlying AI agents.
Affected software
- openclaw-dashboard (tugcantopaloglu): all versions from v1.1.0 through the current main branch (commit
d6198d0); no patched release has been issued.
Severity
- CVSS v3.1 Base Score: 9.3 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Mitigation and recommended actions
- No vendor patch is currently available. The vulnerability was publicly disclosed without a corresponding fix.
- Immediate network mitigations:
- Restrict network access to OpenClaw Dashboard — place it behind a VPN or firewall and ensure it is not directly reachable from the public internet.
- Disable or restrict unauthenticated message-submission channels (chat interfaces, webhooks) that allow external parties to deliver content to OpenClaw agents.
- Hardening measures (pending an upstream fix):
- Replace all
innerHTMLassignments that render session data withtextContentto prevent HTML parsing of untrusted input. - HTML-encode the
lastMessage,label, andkeyfields before any DOM insertion. - Remove
'unsafe-inline'from thescript-srcdirective of the Content Security Policy to eliminate inline event-handler execution even if unsanitized content reaches the DOM.
- Replace all
- Monitor dashboard audit logs (
data/audit.log) for unexpected administrative API calls or anomalous session activity.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

