Stored XSS in Open WebUI PDF Download Functionality by Open WebUI
CVE-2025-65959
8.7HIGH
What is CVE-2025-65959?
Open WebUI, a self-hosted artificial intelligence platform, contains a Stored XSS vulnerability in its Notes PDF download feature prior to version 0.6.37. This vulnerability allows authenticated users to upload a Markdown file that includes malicious SVG tags. When another user downloads the note as a PDF, the attacker can execute arbitrary JavaScript code within the victim's session, leading to session token theft. Notably, unauthorized external attackers can also exploit this vulnerability by crafting specific Markdown files. A patch fixing this issue is available in version 0.6.37.
Affected Version(s)
open-webui < 0.6.37
