{"schemaVersion":3,"id":"CVE-2025-65959","aliases":["GHSA-8wvc-869r-xfqf"],"status":"published","duplicateOf":null,"title":null,"description":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a Stored XSS vulnerability was discovered in Open-WebUI's Notes PDF download functionality. An attacker can import a Markdown file containing malicious SVG tags into Notes, allowing them to execute arbitrary JavaScript code and steal session tokens when a victim downloads the note as PDF. This vulnerability can be exploited by any authenticated user, and unauthenticated external attackers can steal session tokens from users (both admin and regular users) by sharing specially crafted markdown files. This vulnerability is fixed in 0.6.37.","dates":{"published":"2025-12-04T20:46:36.575Z","modified":"2025-12-05T17:16:56.304Z","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 · 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.00235,"percentile":0.13591,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00235},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00235,"percentile":0.13591}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00235,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00235,"percentile":0.13591}]},"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.37","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.37","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.37","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.37","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.37","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.37","eol":null,"hubHref":"/vendor/openwebui/open_webui"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqf","label":"github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqf","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/open-webui/open-webui/commit/03cc6ce8eb5c055115406e2304fbf7e3338b8dce","label":"github.com/open-webui/open-webui/commit/03cc6ce8eb5c055115406e2304fbf7e3338b8dce","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65959","label":"nvd.nist.gov/vuln/detail/CVE-2025-65959","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"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-12-04T20:46:36.575Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-05T17:16:56.304Z","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-21T17:19:50.018Z","stale":false,"partial":false}}