Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain content-contribution access to target session
-
DeliveryInject javascript: or data: URI into session link
-
ExploitTrusted operator exports session to HTML
-
InstallOperator opens HTML file in browser
-
C2Operator clicks crafted link
-
ExecuteJavaScript executes in operator's browser context
-
ImpactExfiltrate cookies or perform credentialed browser actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Attribute value escaping
|
| Exploitation Conditions | Exploitation requires two specific, simultaneous conditions: (1) the attacker must be able to inject or supply content into an OpenClaw session - this requires either session collaboration access, control over an external data source ingested by the session, or another mechanism to influence session content; and (2) a trusted operator must export the session to HTML and actively click the crafted link in a JavaScript-enabled browser. The CVSS 4.0 AT:P metric explicitly confirms that specific attack prerequisites must be present. Exploitation is further limited by the requirement for deliberate user interaction beyond simply opening the file (the victim must click the malicious link), and by the scope of impact being confined to the operator's browser context (SC:L/SI:L). This vulnerability is not exploitable remotely against default OpenClaw deployments without the attacker first gaining influence over session content. |
| Impact | The CVSS 4.0 score of 2.1 is low and accurately reflects several compounding mitigating factors. The AT:P metric confirms specific attack prerequisites must be satisfied before exploitation is possible. The UI:A metric requires the victim to actively click the crafted link - merely opening the file is insufficient. The vulnerable system shows no CIA impact (VC:N/VI:N/VA:N), with only low subsequent-system confidentiality and integrity impact (SC:L/SI:L). No CISA KEV listing and no public proof-of-concept exploit exist at time of analysis, and no EPSS score was supplied in the source data, so exploitation probability cannot be quantified from that signal. Despite the low CVSS score, the scenario carries a meaningful insider or supply-chain-style risk dimension that CVSS does not fully capture: an attacker who can influence session content (e.g., a malicious collaborator) can effectively target privileged operators who routinely export and review sessions. This is a real but narrow priority - not a broadly exploitable internet-facing vulnerability. |
| Exploit ScenarioDerived | An attacker with the ability to contribute content to an OpenClaw session - for example, a malicious internal collaborator or a compromised data source ingested by the session - embeds an anchor tag containing a javascript: or data: URI in the session content. When a trusted operator later exports the session to HTML for offline review and clicks the link in their browser, the embedded script executes in the operator's browser context, where it could exfiltrate session cookies, perform credentialed API calls, or redirect the operator to a phishing page. No public proof-of-concept exploit has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Stored cross-site scripting in OpenClaw's session HTML export feature allows unsafe javascript: and data: URI schemes to survive into generated output files. All OpenClaw versions before 2026.5.12 are affected; exploitation requires a trusted operator to open an exported session HTML file and actively click a crafted link, at which point arbitrary JavaScript executes in their browser context. No public exploit has been identified at time of analysis and no CISA KEV listing exists; the CVSS 4.0 score of 2.1 reflects the narrow attack prerequisites and limited subsequent-system impact.
RemediationAI
Upgrade OpenClaw to version 2026.5.12 or later, which addresses the unsafe link-scheme handling in the session HTML export renderer; consult the vendor advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-w9hf-3pp7-pvxv for patch details. If an immediate upgrade is not feasible, operators should avoid opening exported HTML files directly in a standard browser tab; instead, review session content within the OpenClaw application UI before exporting. As a compensating control, exported HTML files can be opened in a sandboxed browser profile or a browser with JavaScript execution disabled - note that disabling JavaScript eliminates the attack vector but may also break any legitimate interactivity in the exported document. Additionally, access controls should be applied to restrict who can contribute content to sessions reviewed by privileged operators, reducing the attacker's ability to inject malicious links.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenClaw (cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) produces exportable HTML documents from session content. The root cause is CWE-83 (Improper Neutralization of Script in Attributes in a Web Page): the HTML export renderer does not sanitize javascript: and data: URI schemes from link attributes before writing them to the output file. These URI schemes are natively executable by browsers - a browser that renders an anchor with href='javascript:...' or href='data:text/html,...' will execute the payload when the user clicks the link. Proper remediation requires stripping or encoding these schemes during export, as they have no legitimate use in generated static HTML sessions.
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
AC:H maps to CVSS 4.0 AT:P (attacker must control session content); UI:R for required link-click; S:C for browser-context scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenClaw before 2026.5.12 contains a cross-site scripting vulnerability in exported session HTML that preserves unsafe javascript: and data: links in generated content. Attackers can execute browser-side scripts if a trusted operator opens the exported file and activates a malicious link.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
EUVD-2026-37143
GHSA-6xcg-6q43-rj2v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB