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.