High severityNVD Advisory· Published Nov 8, 2025· Updated Nov 10, 2025
Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE
CVE-2025-64495
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. In versions 0.6.34 and below, 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. This issue is fixed in version 0.6.35.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
open-webuinpm | < 0.6.35 | 0.6.35 |
open-webuiPyPI | < 0.6.35 | 0.6.35 |
Affected products
3- ghsa-coords2 versions
< 0.6.35+ 1 more
- (no CPE)range: < 0.6.35
- (no CPE)range: < 0.6.35
- Range: < 0.6.35
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-w7xj-8fx7-wfchghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-64495ghsaADVISORY
- github.com/open-webui/open-webui/blob/7a83e7dfa367d19f762ec17cac5e4a94ea2bd97d/src/lib/components/common/RichTextInput.svelteghsax_refsource_MISCWEB
- github.com/open-webui/open-webui/commit/eb9c4c0e358c274aea35f21c2856c0a20051e5f1ghsax_refsource_MISCWEB
- github.com/open-webui/open-webui/security/advisories/GHSA-w7xj-8fx7-wfchghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.