What’s Vulnerable › Vulnerabilities
CVE-2025-65959: Open WebUI vulnerable to Stored DOM XSS via Note 'Download PDF'
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-12-04 · updated 2026-10-18
- Weakness: CWE-79
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.
Affected products
- open-webui: before 0.6.37 — fixed in 0.6.37
How to fix
Upgrade to a fixed version: open-webui 0.6.37. Check the vendor advisory for mitigations.
References
- https://github.com/open-webui/open-webui/commit/03cc6ce8eb5c055115406e2304fbf7e3338b8dce
- https://github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqf
- https://github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqf
Get alerted when CVE-2025-65959 or the next vulnerability affects your stack