CVE-2026-53841

OpenClaw < 2026.5.12 - Cross-Site Scripting via Unsafe Markdown Links in Exported Session HTML

Published Jun 16, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the Exported Session HTML feature in OpenClaw, which allows unsafe javascript: and data: links to be preserved in the generated content. When a trusted operator opens the exported file in a web browser and activates any of these links, malicious scripts can run under the operator’s credentials. The flaw is a typical XSS bug, classified as CWE‑83, and can compromise the confidentiality and integrity of the users’ data within the browser context, but does not provide a direct remote code execution pathway.

Affected Systems

OpenClaw instances running before version 2026.5.12 are affected. The issue applies to all installations that use the exported session HTML functionality.

Risk and Exploitability

With a CVSS score of 2.1, the severity is low, and an EPSS score of less than 1% indicates a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog, and no public exploit is known. The likely attack vector requires internal access to the system and trust that an operator will open the malicious exported file, so the risk is limited to environments where exported files are shared among trusted users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.5.12 or later to remove the XSS flaw.
  • Restrict the use of exported session HTML files to trusted personnel only and verify that any links have been removed or sanitized before they are opened.
  • If upgrading immediately is not possible, strip or replace any javascript: and data: links from the exported HTML to prevent script execution.

Generated by OpenCVE AI on June 17, 2026 at 21:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-w9hf-3pp7-pvxv OpenClaw: Exported session HTML could keep unsafe markdown links
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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.
Title OpenClaw < 2026.5.12 - Cross-Site Scripting via Unsafe Markdown Links in Exported Session HTML
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-83
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 2.1, 'vector': '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'}

Weaknesses
  • CWE-83

    Improper Neutralization of Script in Attributes in a Web Page

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jun 17, 2026, 2:48 PM
Reserved
Jun 10, 2026, 9:19 PM
Status
Analyzed
Published
Jun 16, 2026, 7:17 PM
Modified
Jun 17, 2026, 9:03 PM