CVE-2026-45665

Open WebUI: Stored XSS in Banner Component via Improper Sanitization Order

Published May 15, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.0, 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 This vulnerability is fixed in 0.8.0.

Analysis

AI-generated

Technical impact

Open WebUI’s Banner component contains a stored cross‑site scripting flaw caused by executing DOMPurify before the marked library. An attacker with administrator privileges can inject malicious JavaScript into the global banner, which is rendered for all users, including the Super Admin. This enables the attacker to steal the Super Admin’s session token and gain full control of the system.

Affected Systems

The vulnerability affects the self‑hosted Open WebUI platform version prior to 0.8.0. Users must verify the installed version and plan an upgrade if they are running an earlier release.

Risk and Exploitability

The vulnerability has a CVSS score of 8.1. EPSS is not available and the issue is not listed in the CISA KEV catalog. Because the attack requires an authenticated administrator role, the likelihood of exploitation depends on whether an attacker has already compromised an administrator account. Once the banner payload is stored, all users will see the malicious script, allowing session hijacking of the Super Admin.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.8.0 or later to apply the security fix.
  • Restrict banner editing permissions to a minimal set of trusted administrators to limit the number of attackers who can inject malicious scripts.
  • Deploy a strict Content Security Policy that blocks inline JavaScript and disallows unsafe sources to mitigate the impact of any residual XSS payloads.

Generated by OpenCVE AI on May 15, 2026 at 23:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cqp4-qqvg-3787 Open WebUI has Stored XSS in Banner Component via Improper Sanitization Order
History
Type Values Removed Values Added
First Time appeared Openwebui
Openwebui open Webui
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
Type Values Removed Values Added
Description Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.0, 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 This vulnerability is fixed in 0.8.0.
Title Open WebUI: Stored XSS in Banner Component via Improper Sanitization Order
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 18, 2026, 7:47 PM
Reserved
May 12, 2026, 9:59 PM
Status
Analyzed
Published
May 15, 2026, 10:16 PM
Modified
Nov 11, 2026, 8:10 PM