CVE-2025-65959CWE-79cross-site-scripting

CVE-2025-65959

High · published December 5, 2025

CVSS v3.1
8.7
EPSS
0%
Percentile
13.6
In the wild
Unconfirmed
What it is

🚨 An authenticated user can turn a simple Markdown file into a sneaky attack vector! This Stored XSS vulnerability in Open WebUI's Notes PDF download feature is like inviting someone to dinner, only to have them sneak in a rogue recipe that serves up your data! ⚡ Think of the vulnerability like a houseguest who brings food that looks delicious, but actually contains hidden ingredients that can make you sick. An attacker can craft a harmless-looking Markdown file, but once it’s downloaded, it can execute malicious JavaScript that steals session tokens, putting both admin and regular users at risk. If this vulnerability is exploited, attackers can run arbitrary JavaScript code as users download notes, allowing them to snatch session tokens! This could lead to unauthorized access to sensitive data, making it a high-stakes game for anyone using this platform. You wouldn’t want a thief in your kitchen, would you?

Put simply

Think of the vulnerability like a houseguest who brings food that looks delicious, but actually contains hidden ingredients that can make you sick. An attacker can craft a harmless-looking Markdown file, but once it’s downloaded, it can execute malicious JavaScript that steals session tokens, putting both admin and regular users at risk. This Stored XSS vulnerability allows attackers to insert malicious SVG tags into Markdown files. When these files are downloaded as PDFs, the JavaScript code executes, compromising user sessions.

What to do

If this vulnerability is exploited, attackers can run arbitrary JavaScript code as users download notes, allowing them to snatch session tokens! This could lead to unauthorized access to sensitive data, making it a high-stakes game for anyone using this platform. You wouldn’t want a thief in your kitchen, would you? To protect yourself, immediately upgrade Open WebUI to version 0.6.37 or later! Additionally, conduct a thorough review of your Markdown import processes to ensure no harmful content slips through. Regular security audits can help catch these sneaky vulnerabilities! You've got this! With a quick update and vigilance, you'll keep your environment safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00235 · 13.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-12-05T02:16Z
Affected products (1)
ProductVersionsFixed in
openwebui/open_webui< 0.6.370.6.37
References (3)
EPSS history
Timeline
  • 04 DEC 20:46Z
    Open WebUI vulnerable to Stored DOM XSS via Note 'Download PDF'
    cvelistv5