---
id: CVE-2026-66421
title: OpenClaw Dashboard Stored XSS via lastMessage Session Field
summary: >-
  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
  me…
severity: critical
cvss: 9.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: tugcantopaloglu
product: openclaw-dashboard
affected:
  - openclaw-dashboard 1.1.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-31T15:07:18.325917Z'
exploitAvailable: true
published: '2026-07-30'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T14:18:26.635Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-66421'
references:
  - url: 'https://github.com/tugcantopaloglu/openclaw-dashboard'
    label: Product Repository
  - url: >-
      https://github.com/theopaid/Stored-Cross-Site-Scripting-Via-Agent-Messages-Leading-To-Session-Token-Theft-openclaw-dashboard-
  - url: >-
      https://www.vulncheck.com/advisories/openclaw-dashboard-stored-xss-via-lastmessage-session-field
tags:
  - cve.org
  - exploit-available
epss: 0.00633
epssPercentile: 0.48231
exploits:
  github: 1
  githubRepos:
    - >-
      https://github.com/theopaid/CVE-2026-66421-OpenClaw-Dashboard-Stored-XSS-via-lastMessage-Session-Field
  checkedAt: '2026-09-27T10:33:56.160Z'
ingestedAt: '2026-09-24T15:45:56.718Z'
---

## Overview

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.

## Affected

- `openclaw-dashboard 1.1.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
