CVE-2025-65959: Open WebUI Vulnerable to Stored DOM XSS via Note 'Download PDF'
Affects open-webuiSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 0.6.37 soon.
Data as of 25 Nov 2026, 03:43 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.7 |
|---|
- Patch
- Available – fixed in 0.6.37
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade open-webui to 0.6.37.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmopen-webui | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Open-WebUI version 0.6.37 that sanitizes note content using DOMPurify before assigning it to innerHTML during PDF generation. Users should upgrade to version 0.6.37 or later to remediate this vulnerability. The patch explicitly forbids dangerous tags such as svg and script and disallows event handler attributes. No additional mitigations are required once the patch is applied.
Description
Open-WebUI versions prior to 0.6.37 contain a stored DOM-based Cross-Site Scripting (XSS) vulnerability in the Notes PDF download feature. An attacker can craft a malicious Markdown file with embedded SVG tags that execute arbitrary JavaScript when a victim downloads the note as a PDF. This allows theft of session tokens from authenticated users. The vulnerability arises from unsanitized HTML content being assigned directly to innerHTML without proper filtering. A patch is available in version 0.6.37 that uses DOMPurify to sanitize note content before PDF generation.
References
- github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqf (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-65959 (opens in a new tab)
- github.com/open-webui/open-webui/commit/03cc6ce8eb5c055115406e2304fbf7e3338b8dce (opens in a new tab)
- github.com/open-webui/open-webui (opens in a new tab)