CVE-2026-27009: OpenClaw Stored XSS Vulnerability in Control UI via Unsanitized Assistant Name/Avatar

openclaw Updated 19 Feb 2026

Summary

18/02/2026
Yes i
Moderate
5.8

CVE-2026-27009: Stored XSS in the OpenClaw Control UI when rendering assistant identity (name/avatar) into an inline tag without script-context-safe escaping. Affects openclaw versions < 2026.2.15. Fixed in 2026.2.15. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenClaw is an open-source software package designed for managing and controlling various applications through a user-friendly interface. It allows operators and administrators to set up assistants with specific identities, including names and avatars. However, a critical vulnerability has been identified in the Control UI, where unsanitized input can lead to stored cross-site scripting (XSS) attacks, compromising the security of the application.

Vulnerability Detail

The vulnerability arises from the improper handling of user input in the OpenClaw Control UI. Specifically, the assistant's identity, including the name and avatar, is rendered directly into an inline script tag without adequate escaping. This allows an attacker to inject malicious JavaScript code by setting the assistant identity to a crafted value containing '</script>'. When this code is executed in the browser, it can lead to unauthorized actions, session theft, and other malicious activities. The vulnerability is classified as moderate with a CVSS score of 5.8, indicating a significant risk, especially in environments where the Control UI is accessible.

How To Fix

Latest published version: 2026.10.6 as of 22 Oct 2026

npm install openclaw@2026.10.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2026.2.15

This is the first release that contains the fix.

npm install openclaw@2026.2.15

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid setting the assistant identity to any untrusted or malicious strings. Additionally, implementing a strict Content Security Policy (CSP) can help mitigate the risk by disallowing inline scripts. A sample CSP header could be: Content-Security-Policy: script-src 'self';

Conclusion

The stored XSS vulnerability in OpenClaw's Control UI poses a significant risk to users who can set assistant identities. It is crucial to update to the patched version 2026.2.15 to mitigate this risk. Users should also consider implementing additional security measures such as Content Security Policies to further protect their applications.

See every vulnerability recorded for openclaw →

Share this vulnerability

FAQ

An attacker could execute arbitrary JavaScript in the Control UI, potentially leading to token theft and unauthorized actions.

You can use Vulert's playground at Vulert Scanner to monitor and check for vulnerabilities in your application without needing to sign up.

If updating is not possible, ensure that you do not allow untrusted input for assistant identities and consider implementing a strict Content Security Policy.

Yes, the advisory notes that the vulnerability is primarily a concern for local deployments, as the Control UI is intended for local use only.

The CVSS score for this vulnerability is 5.8, indicating a moderate level of risk.

Related vulnerabilities

Recent vulnerabilities recorded for openclaw.

How To Fix

Latest published version: 2026.10.6 as of 22 Oct 2026

npm install openclaw@2026.10.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2026.2.15

This is the first release that contains the fix.

npm install openclaw@2026.2.15

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback