CVE-2025-64495
MEDIUM 5.4CVSS 3.1Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE
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.
- Published
- 8 Nov 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-w7xj-8fx7-wfchPYSEC-2026-1741
- Sources
- NVDJSONOSV GHSA-w7xj-8fx7-wfchJSONOSV PYSEC-2026-1741JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openwebui | open_webuicpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* |
< 0.6.35 | 0.6.35 |
| OSV | npm | open-webui | < 0.6.35 | 0.6.35 |
| OSV | PyPI | open-webui | < 0.6.35 | 0.6.35 |
References
- https://github.com/open-webui/open-webui/blob/7a83e7dfa367d19f762ec17cac5e4a94ea2bd97d/src/lib/components/common/RichTextInput.svelte#L348 · Product, WEB
- https://github.com/open-webui/open-webui/commit/eb9c4c0e358c274aea35f21c2856c0a20051e5f1 · Patch, WEB
- https://github.com/open-webui/open-webui/security/advisories/GHSA-w7xj-8fx7-wfch · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-64495 · ADVISORY
- https://github.com/open-webui/open-webui · PACKAGE
- https://pypi.org/project/open-webui · PACKAGE
- https://github.com/advisories/GHSA-w7xj-8fx7-wfch · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 8 Nov 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Nov 2025)