Skip to content

CVE-2025-65959 Open WebUI vulnerable to Stored DOM XSS via Note 'Download PDF'

MediumCVSS 5.4 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a Stored XSS vulnerability was discovered in Open-WebUI's Notes PDF download functionality. An attacker can import a Markdown file containing malicious SVG tags into Notes, allowing them to execute arbitrary JavaScript code and steal session tokens when a victim downloads the note as PDF. This vulnerability can be exploited by any authenticated user, and unauthenticated external attackers can steal session tokens from users (both admin and regular users) by sharing specially crafted markdown files. This vulnerability is fixed in 0.6.37.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm open-webui(npm) < 0.6.37; <= 0.6.36 0.6.37 Fixed
openwebui open webui < 0.6.37 0.6.37 Fixed
open-webui = < 0.6.37 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm open-webui(npm) <= 0.6.36 No fix listed
open-webui = < 0.6.37 No fix listed
openwebui open webui < 0.6.37 0.6.37
npm open-webui(npm) < 0.6.37 0.6.37

References