SecurityContext

CVE-2025-65959: Open WebUI - Stored XSS

  • Cve: CVE-2025-65959
  • Name: Open WebUI - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript and steal session tokens, leading to account compromise and session hijacking.
  • Remediation: Update to version 0.6.37 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated to import malicious Markdown files
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00252
  • Epss percentile: 0.1659
  • Assignee: [email protected]
  • Published at: 2025-12-04T21:16:08Z
  • Age in days: 355
  • Modified at: 2026-10-18T15:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-65959
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqfnvd2025-12-04

References

UrlSourceTags
https://github.com/open-webui/open-webui/commit/03cc6ce8eb5c055115406e2304fbf7e3338b8dcenvdPatch
https://github.com/open-webui/open-webui/security/advisories/GHSA-8wvc-869r-xfqfnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
openwebui:open_webui< 0.6.37nonvd/v1/products/openwebui/open_webui

Projects

RepositoryLink kindsIndexedUrl
open-webui/open-webuicommit, fix, package, security_advisoryyes/v1/repositories/open-webui/open-webui

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-12-04
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts