Description
OpenClaw is a personal AI assistant. Prior to version 2026.2.15, a atored XSS issue in the OpenClaw Control UI when rendering assistant identity (name/avatar) into an inline `<script>` tag without script-context-safe escaping. A crafted value containing `</script>` could break out of the script tag and execute attacker-controlled JavaScript in the Control UI origin. Version 2026.2.15 removed inline script injection and serve bootstrap config from a JSON endpoint and added a restrictive Content Security Policy for the Control UI (`script-src 'self'`, no inline scripts).
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
References
github.com/...enclaw/security/advisories/GHSA-37gc-85xm-2ww6
github.com/...ommit/3b4096e02e7e335f99f5986ec1bd566e90b14a7e
github.com/...ommit/adc818db4a4b3b8d663e7674ef20436947514e1b
github.com/openclaw/openclaw/releases/tag/v2026.2.15