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.0: 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/E:U/U:Clear
CVE-ID: CVE-2025-65959
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Open WebUI
Affected software:
Open WebUI

Detailed vulnerability description

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.


How to mitigate CVE-2025-65959

Install security update from vendor's website.

Sources