CVE-2025-64495
High · 8.7Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE
CVSS
8.7
EPSS
0.5%
Published
Nov 7, 2025
CISA due date
—
The record
The functionality that inserts custom prompts into the chat window is vulnerable to DOM XSS when 'Insert Prompt as Rich Text' is enabled, since the prompt body is assigned to the DOM sink `.innerHtml` without sanitisation. Any user with permissions to create prompts can abuse this to plant a payload that could be triggered by other users if they run the corresponding `/` command to insert the prompt.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | open-webui | 0 | 0.6.35 |
| npm | open-webui | 0 | 0.6.35 |
Related vulnerabilities
- GHSA-w7xj-8fx7-wfch Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is… Same vulnerability
- CVE-2026-44721 Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely… Also affects open-webui
- GHSA-gf5m-wcrh-7928 open-webui Vulnerable to Stored XSS via Model Description Also affects open-webui
- GHSA-c6xv-rcvw-v685 Open WebUI vulnerable to Server-Side Request Forgery (SSRF) via Arbitrary URL Processing… Also affects open-webui
- CVE-2025-65958 Open WebUI vulnerable to Server-Side Request Forgery (SSRF) via Arbitrary URL Processing… Also affects open-webui
- GHSA-frv8-gffc-37px open-webui is Vulnerable to Incorrect Access Control Also affects open-webui
- CVE-2025-63681 open-webui is Vulnerable to Incorrect Access Control Also affects open-webui
- GHSA-cm35-v4vp-5xvx Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via… Also affects open-webui