{"id":"CVE-2025-65959","published":"2025-12-04T20:46:36Z","modified":"2025-12-05T17:16:56Z","title":"Open WebUI vulnerable to Stored DOM XSS via Note 'Download PDF'","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","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.00399,"percentile":0.25703,"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-8wvc-869r-xfqf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-webui/open-webui/commit/03cc6ce8eb5c055115406e2304fbf7e3338b8dce","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":5.14},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.6.37"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-12-05T17:16:53.091606Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"open-webui","vulnerableRanges":["<0.6.37"],"patched":["0.6.37"],"from":["GHSA-8wvc-869r-xfqf"],"provenance":"source"}],"summary":{"text":"Open WebUI's Notes feature contains a stored cross-site scripting flaw in its PDF download function, where malicious SVG tags imported through a Markdown file are not neutralised. An attacker with network access and low privileges (or one who can get a victim to open a crafted Markdown file) can run arbitrary JavaScript and steal session tokens once a victim downloads the affected note as a PDF, which requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:46Z"},"euvd":{"id":"EUVD-2025-201263","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45346","published":"2026-05-15","fixed":"0.6.31","kev":false},{"cve":"CVE-2025-64495","published":"2025-11-08","fixed":"0.6.35","kev":false,"link":{"from":"CVE-2025-64495","to":"CVE-2025-65959","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:open-webui","fromFixed":"0.6.35","toFixed":"0.6.37","daysApart":26}]}},{"cve":"CVE-2025-64496","published":"2025-11-08","fixed":"0.6.35","kev":false},{"cve":"CVE-2025-65959","published":"2025-12-04","fixed":"0.6.37","kev":false},{"cve":"CVE-2026-45665","published":"2026-05-15","fixed":"0.8.0","kev":false},{"cve":"CVE-2026-44721","published":"2026-05-15","fixed":"0.9.0","kev":false},{"cve":"CVE-2026-45395","published":"2026-05-15","fixed":"0.9.5","kev":false}],"package":"npm:open-webui"}}