PT-2026-20792 · Openclaw · Openclaw

Adam55A-Code

·

Published

2026-02-18

·

Updated

2026-03-01

·

CVE-2026-27009

CVSS v3.1

5.8

Medium

VectorAV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions OpenClaw versions prior to 2026.2.15
Description A stored Cross-Site Scripting (XSS) issue exists in the OpenClaw Control UI when rendering assistant identity (name/avatar) into an inline <script> tag without proper escaping. A crafted value containing </script> could allow an attacker to break out of the script tag and execute arbitrary JavaScript in the Control UI origin. The issue stemmed from directly injecting assistantName and assistantAvatar into an inline <script> block using JSON.stringify(...), which does not prevent the </script> sequence from terminating the script element. An attacker with the ability to set assistant identity values could potentially steal tokens or sessions and perform privileged actions in the UI.
Recommendations Versions prior to 2026.2.15 should be updated to version 2026.2.15 or later. This update removes inline script injection, serves bootstrap configuration from a JSON endpoint, and adds a restrictive Content Security Policy for the Control UI (script-src 'self', no inline scripts).

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-27009
GHSA-37GC-85XM-2WW6

Affected Products

Openclaw