{"schemaVersion":3,"id":"CVE-2025-64495","aliases":["GHSA-w7xj-8fx7-wfch","PYSEC-2026-1741"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-11-08T01:25:48.995Z","modified":"2025-11-10T15:09:23.638Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00493,"percentile":0.41124,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.03300000000000004,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0046},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00493,"percentile":0.41124}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00493,"percentile":0.41124}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OPEN-WEBUI_OPEN-WEBUI","name":"Open Webui","source":"github","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"Npm","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/open-webui","purlType":"npm","versions":[{"text":"< 0.6.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.35","eol":null,"hubHref":null},{"vendor":"open-webui","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.6.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.35","eol":null,"hubHref":"/vendor/open-webui/open-webui"},{"vendor":"openwebui","product":"open_webui","name":"open webui","label":"open_webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.6.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.35","eol":null,"hubHref":"/vendor/openwebui/open_webui"},{"vendor":"PyPI","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/open-webui","purlType":"pypi","versions":[{"text":"< 0.6.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.35","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-w7xj-8fx7-wfch","label":"github.com/open-webui/open-webui/security/advisories/GHSA-w7xj-8fx7-wfch","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/open-webui/open-webui/commit/eb9c4c0e358c274aea35f21c2856c0a20051e5f1","label":"github.com/open-webui/open-webui/commit/eb9c4c0e358c274aea35f21c2856c0a20051e5f1","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/open-webui/open-webui/blob/7a83e7dfa367d19f762ec17cac5e4a94ea2bd97d/src/lib/components/common/RichTextInput.svelte#L348","label":"github.com/open-webui/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64495","label":"nvd.nist.gov/vuln/detail/CVE-2025-64495","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/open-webui/open-webui","label":"github.com/open-webui/open-webui","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/open-webui","label":"pypi.org/project/open-webui","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-w7xj-8fx7-wfch","label":"github.com/advisories/GHSA-w7xj-8fx7-wfch","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-11-08T01:25:48.995Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-10T15:09:23.638Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:26:42.299Z","stale":false,"partial":false}}