# CVE-2025-65959: Open WebUI vulnerable to Stored DOM XSS via Note 'Download PDF'

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-04T20:46:36.575Z
- Modified: 2026-10-18T15:10:00.097Z
- Also known as: GHSA-8wvc-869r-xfqf
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.6.37
- open-webui (npm): before 0.6.37
- openwebui open_webui: before 0.6.37

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqf> (exploit, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/commit/03cc6ce8eb5c055115406e2304fbf7e3338b8dce> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65959> (advisory)
- <https://github.com/open-webui/open-webui> (package)

## Sources

- CVE List: [CVE-2025-65959](https://www.cve.org/CVERecord?id=CVE-2025-65959), CVE Terms of Use, modified 2025-12-05
- GitHub Advisory Database: [GHSA-8wvc-869r-xfqf](https://github.com/advisories/GHSA-8wvc-869r-xfqf), CC-BY-4.0, modified 2025-12-05
- NVD: [CVE-2025-65959](https://nvd.nist.gov/vuln/detail/CVE-2025-65959), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-65959 · Whole record: https://cve.day/CVE-2025-65959.json · Rebuilt by cve.day 2026-11-25T22:59:08.298Z
