Skip to main content
VulnerabilityPublished

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

Affects open-webuiSource GCVE Database

0
Compare
Authoritative record:CVE-2025-65959· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 0.6.37 soon.

Data as of 25 Nov 2026, 03:43 UTC

CVSS 3.1 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.18.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmopen-webuiAffected
  • <0.6.37
Fixed in
  • 0.6.37

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

Community reviews

Loading reviews…