Cross-site scripting in Open WebUI - CVE-2025-65959

 

Cross-site scripting in Open WebUI - CVE-2025-65959

Published: April 24, 2026


Vulnerability identifier: #VU127470
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2025-65959
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary JavaScript code and steal session tokens.

The vulnerability exists due to cross-site scripting in the Notes PDF download functionality in src/lib/components/notes/utils.ts downloadPdf() when processing imported markdown content during PDF generation. A remote user can import or share a specially crafted markdown file containing malicious SVG tags to execute arbitrary JavaScript code and steal session tokens.

User interaction is required when the victim downloads the note as a PDF.


Affected software

Open WebUI

How to mitigate CVE-2025-65959

Install security update from vendor's website.

Open WebUI - update to 0.6.37

External References

Related Security Bulletins