Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-45665

CVE-2026-45665: Open WebUI has Stored XSS in Banner Component via Improper Sanitization Order

May 14, 2026 (updated May 19, 2026)

A Stored Cross-Site Scripting (XSS) vulnerability exists in the Banner component due to an improper sanitization order (specifically, DOMPurify is executed before the marked library).

This vulnerability allows a compromised or malicious administrator to plant a malicious payload in the global banner. Crucially, this vector enables Privilege Escalation, as the malicious banner is rendered for all users, including the Super Admin (Primary Admin).

Consequently, the payload successfully bypasses the existing security mechanism. An attacker can leverage this to steal the Super Admin’s session token

References

  • github.com/advisories/GHSA-cqp4-qqvg-3787
  • github.com/open-webui/open-webui/releases/tag/v0.8.0
  • github.com/open-webui/open-webui/security/advisories/GHSA-cqp4-qqvg-3787
  • nvd.nist.gov/vuln/detail/CVE-2026-45665

Code Behaviors & Features

Detect and mitigate CVE-2026-45665 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.8.0

Fixed versions

  • 0.8.0

Solution

Upgrade to version 0.8.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/open-webui/CVE-2026-45665.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:48 +0000.