{"cve":"CVE-2025-64495","nvd":{"published":"2025-11-08T02:15:35.250","modified":"2026-06-17T09:54:27.707","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/open-webui/open-webui/blob/7a83e7dfa367d19f762ec17cac5e4a94ea2bd97d/src/lib/components/common/RichTextInput.svelte#L348","https://github.com/open-webui/open-webui/commit/eb9c4c0e358c274aea35f21c2856c0a20051e5f1","https://github.com/open-webui/open-webui/security/advisories/GHSA-w7xj-8fx7-wfch"],"products":["openwebui:open_webui"],"source":"nvd","synced_at":"2026-10-19T22:14:53.307938015+00:00"},"epss":{"cve":"CVE-2025-64495","score":0.00493,"percentile":0.42376,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w7xj-8fx7-wfch","url":"https://osv.dev/vulnerability/GHSA-w7xj-8fx7-wfch","summary":"Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE","modified":"2026-07-07T17:56:10.834670648Z","packages":[{"ecosystem":"npm","name":"open-webui","purl":"pkg:npm/open-webui","ranges":["<0.6.35"],"fixed":["0.6.35"]},{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.6.35"],"fixed":["0.6.35"]}]},{"id":"PYSEC-2026-1741","url":"https://osv.dev/vulnerability/PYSEC-2026-1741","summary":"Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE","modified":"2026-07-07T17:47:59.974875031Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.6.35"],"fixed":["0.6.35"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}