CVE-2026-66421

OpenClaw Dashboard Stored XSS via lastMessage Session Field

Published Jul 30, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenClaw Dashboard allows unauthenticated remote attackers to store malicious JavaScript in the session transcript by injecting HTML into the 60‑character lastMessage field. This payload is later rendered unsanitized into innerHTML on the default landing page, enabling attackers to steal session tokens and perform authenticated administrative actions, such as modifying agent instruction files. The vulnerability is a classic stored XSS flaw (CWE‑79).

Affected Systems

The affected product is OpenClaw Dashboard developed by tugcantopaloglu. No specific version details are provided, so any deployed instance of the dashboard should be considered potentially vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity and the attack can be performed remotely without authentication by submitting a crafted message. The EPSS score of 0.00363 (less than 1%) shows a very low but nonzero probability of exploitation. The issue is not listed in CISA KEV, but the lack of sanitization and the direct abuse of innerHTML makes exploitation straightforward for an attacker who can send an agent transcript. The likelihood is high if the dashboard is exposed to untrusted input sources, and the impact includes session compromise and unauthorized administrative actions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update OpenClaw Dashboard to the latest release that removes the unsanitized innerHTML rendering.
  • Sanitize or whitelist all user‑provided transcript content, blocking dangerous attributes such as onerror, onclick, or any event handler before rendering.
  • Restrict administrative access to trusted IP ranges or enforce network‑level firewall rules to reduce the attack surface for XSS exploitation.

Generated by OpenCVE AI on August 3, 2026 at 10:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Tugcantopaloglu openclaw Agent Dashboard
CPEs cpe:2.3:a:tugcantopaloglu:openclaw_agent_dashboard:*:*:*:*:*:*:*:*
Vendors & Products Tugcantopaloglu openclaw Agent Dashboard
Type Values Removed Values Added
First Time appeared Tugcantopaloglu
Tugcantopaloglu openclaw-dashboard
Vendors & Products Tugcantopaloglu
Tugcantopaloglu openclaw-dashboard
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title OpenClaw Dashboard Stored XSS via lastMessage Session Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:18 PM
Reserved
Jul 27, 2026, 5:16 AM
Status
Analyzed
Published
Jul 30, 2026, 11:16 PM
Modified
Sep 3, 2026, 7:56 PM