{"id":"CVE-2025-64495","published":"2025-11-08T01:25:48Z","modified":"2025-11-10T15:09:23Z","title":"Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00493,"percentile":0.43264,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-w7xj-8fx7-wfch","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-webui/open-webui/commit/eb9c4c0e358c274aea35f21c2856c0a20051e5f1","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/blob/7a83e7dfa367d19f762ec17cac5e4a94ea2bd97d/src/lib/components/common/RichTextInput.svelte#L348","tags":["x_refsource_MISC"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":8.65},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-11-10","earliestUrl":"https://github.com/AlphabugX/CVE-2025-64495-POC","repos":[{"name":"AlphabugX/CVE-2025-64495-POC","url":"https://github.com/AlphabugX/CVE-2025-64495-POC","stars":3,"created":"2025-11-10"}]},"first":{"date":"2025-11-10","source":"PoC-in-GitHub","url":"https://github.com/AlphabugX/CVE-2025-64495-POC"},"provenance":"source"},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.6.35"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-10T15:08:34.204264Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"open-webui","vulnerableRanges":["<0.6.35"],"patched":["0.6.35"],"from":["GHSA-w7xj-8fx7-wfch"],"provenance":"source"},{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.6.35"],"patched":["0.6.35"],"from":["GHSA-w7xj-8fx7-wfch","PYSEC-2026-1741"],"provenance":"source"}],"summary":{"text":"The Open WebUI self-hosted AI platform, in versions 0.6.34 and below, has a stored DOM cross-site scripting flaw in its custom prompt insertion feature when \"Insert Prompt as Rich Text\" is enabled, because the prompt body is written to the .innerHtml sink without sanitisation. An attacker with permission to create prompts (low privileges) can plant a payload that executes in another user's browser when that user inserts the prompt with the / command, requiring that user's interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:07Z"},"euvd":{"id":"EUVD-2025-38257","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44565","published":"2026-05-15","fixed":"0.6.10","kev":false},{"cve":"CVE-2026-44569","published":"2026-05-15","fixed":"0.6.19","kev":false},{"cve":"CVE-2026-44570","published":"2026-05-15","fixed":"0.6.19","kev":false},{"cve":"CVE-2025-64495","published":"2025-11-08","fixed":"0.6.35","kev":false},{"cve":"CVE-2025-64496","published":"2025-11-08","fixed":"0.6.35","kev":false},{"cve":"CVE-2025-65958","published":"2025-12-04","fixed":"0.6.37","kev":false,"link":{"from":"CVE-2025-64495","to":"CVE-2025-65958","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:open-webui","fromFixed":"0.6.35","toFixed":"0.6.37","daysApart":26}]}},{"cve":"CVE-2026-26193","published":"2026-02-19","fixed":"0.6.44","kev":false}],"package":"PyPI:open-webui"}}