Skip to main content

Open WebUI CVE-2026-44549

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 https://github.com/open-webui/open-webui GHSA-jwf8-pv5p-vhmc
8.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate as low-privilege user
  2. Delivery
    Upload crafted XLSX with HTML payload in a cell
  3. Exploit
    Share chat with victim(s)
  4. Install
    Victim opens file modal and clicks preview
  5. C2
    sheet_to_html emits payload, @html injects it into DOM
  6. Execute
    Script runs in victim session, steals token from local storage
  7. Impact
    Exfiltrate token / pivot to admin RCE chain

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 (1) an authenticated account with permission to upload a chat attachment and create/share a chat (PR:L - the attacker must be a logged-in low-privilege user), and (2) a victim who actively opens the file modal and clicks the Excel 'preview' tab (UI:R). The specific trigger is the XLSX-to-HTML preview path: XLSX.utils.sheet_to_html converts cell contents to HTML with no sanitization, and the result is assigned to excelHtml and written to the DOM via Svelte's @html directive. The attack works against default configurations because the unsafe preview is the standard rendering behavior for Excel attachments; no special server setting must be enabled. Limiting factors that reduce real-world risk: it is not automatable (a human victim must open and preview the file), it affects only Open WebUI versions <= 0.7.2, and the shared-chat variant additionally depends on the victim choosing to open and preview the attachment.

Impact

This is a genuine, actionable stored XSS (CWE-79) in Open WebUI's Excel preview feature, but it sits in the mid-tier of urgency rather than drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N, 8.7) tells a consistent story: network-reachable, low complexity, but requiring an authenticated low-privilege account to plant the payload (PR:L) and requiring a victim to actively open and preview the malicious XLSX (UI:R). The scope change (S:C) reflects that the injected script executes in the victim's authenticated browser session, crossing from the attacker's uploaded content into another user's security context. SSVC aligns with this: Exploitation=poc (a proof-of-concept is published, not confirmed in-the-wild abuse), Automatable=no (it needs a human victim to click preview, so it cannot be sprayed at scale), and Technical Impact=total (session/token theft, and per the advisory an admin-triggered chain to RCE via GHSA-w7xj-8fx7-wfch). The EPSS score of 0.03% (10th percentile) is very low, which is expected and NOT contradictory here: EPSS measures likelihood of broad automated exploitation in the next 30 days, and a user-interaction-gated, non-automatable XSS legitimately scores low even when it is a real, patchable bug. This is NOT in CISA KEV. Net: a real priority worth patching promptly (vendor Decision label: this_week), driven by the total technical impact and published PoC - not inflated-CVSS noise, but also not evidence of mass exploitation.

Exploit ScenarioDerived

A low-privilege attacker crafts an XLSX file whose cell contents contain an HTML/JavaScript payload (e.g. an img onerror handler), uploads it as a chat attachment, and shares the chat. When a victim opens the file modal and clicks the preview tab, sheet_to_html embeds the unsanitized payload into HTML that Svelte renders via @html, executing the script in the victim's session. A complete public PoC generator script is included in the advisory; exploitation requires the victim to actively open and preview the file (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – Nov 11, 2026

Stored cross-site scripting in Open WebUI's Excel attachment preview allows any logged-in low-privilege user to embed an XSS payload inside a crafted XLSX file that executes in a victim's browser when the file modal is opened and the preview tab is selected, potentially leading to session-token theft from local storage and, per the advisory, onward exposure of the server through a separate RCE chain. Only deployments at or below 0.7.2 are affected, and the vendor has released 0.8.0 as the fix. A public PoC reference exists (a Python/xlsxwriter script that plants an onerror payload in a rich-string cell); it is not verified as working exploit code, EPSS is low at roughly 0.03% (10th percentile), and there is no CISA KEV entry - the SSVC assessment records PoC-level exploitation only. Per the independent assessment this is a genuine, actionable stored XSS but mid-tier urgency rather than a drop-everything emergency, since a human victim must choose to open and preview the attachment.

Earlier versions of this analysis (1)
v1 Jul 24, 2026 - 00:26 CVSS 7.3

Stored cross-site scripting in Open WebUI (pip package open-webui, versions ≤ 0.7.2) lets a low-privileged user weaponize a crafted XLSX attachment so that when another user opens and previews it, attacker-controlled markup executes in the victim's browser. The flaw stems from the Excel-to-HTML preview path, which converts spreadsheet cells to HTML and injects the result into the DOM without sanitization. Publicly available exploit code exists (PoC in the advisory); EPSS is very low (0.03%) and it is not on CISA KEV, so exploitation is possible but not observed at scale.

RemediationAI

Vendor-released patch: upgrade Open WebUI to 0.8.0 or later - 0.8.0 is the fixed version for the <= 0.7.2 range, and the advisory's stated repair is sanitising the SheetJS-generated HTML with DOMPurify before it is assigned to the DOM via @html. Confirm the deployed PyPI package version (pkg:pip/open-webui) rather than only the container tag, and re-check any forks or custom builds that vendor FileItemModal.svelte. The advisory does not describe a configuration-level workaround, so instances that cannot move to 0.8.0 immediately carry residual risk; the practical exposure limiter is behavioural - the payload only fires when a user opens the file modal and clicks the Excel preview tab, so during the upgrade window, restraint on opening untrusted shared chats and attachments reduces the chance of triggering. The advisory link GHSA-jwf8-pv5p-vhmc should be cited in change records; note that preview of Excel attachments is default behaviour, so no server-side setting is available to turn the risky rendering off based on the supplied evidence.

Affected Packages

pypi open-webui fix: 0.8.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

The flaw is CWE-79 (improper neutralization of input during web page generation) arising in the client-side XLSX-to-HTML preview pipeline. Open WebUI uses the SheetJS library's XLSX.utils.sheet_to_html to convert spreadsheet cell contents into an HTML table for display in FileItemModal.svelte; that conversion performs no input validation or sanitisation, so HTML markup written into a cell (for example via xlsxwriter's write_rich_string) is carried through into the generated markup. The resulting string is stored in the excelHtml variable and later written into the DOM unsanitized through Svelte's @html directive when the preview tab is rendered, which is standard preview behaviour rather than an opt-in mode. The distributed package is the Python/PyPI artifact open-webui (CPE pkg:pip/open-webui), meaning the vulnerable Svelte component ships in the web frontend bundled with every affected instance, including shared-chat rendering paths. The advisory's own recommendation is to pass the generated HTML through DOMPurify before assignment to the DOM; the trigger path itself is described in the supplied sources, though the exact repair commit is not.

Know when Python gets its next vulnerability

  • 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

NVD PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

Authenticated low-priv user plants the payload (PR:L) and a victim must open/preview it (UI:R); script runs in the victim's session (S:C) enabling token theft and admin RCE chain, so C:H/I:H, with no availability impact.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Nov 11, 2026 - 20:36 vuln.today
v2 - CVSS changed
CVSS changed
Nov 11, 2026 - 20:22 NVD
7.3 (HIGH) 8.7 (HIGH)
CVE Published
May 08, 2026 - 22:26 nvd
HIGH 7.3

DescriptionNVD

Summary

Excel file attachments are previewed in an unsafe way. A crafted XLSX file payload can be used to cause the sheetjs function sheet_to_html to embed an XSS payload into the generated HTML. This is subsequently added to the DOM unsanitized via @html causing the payload to trigger.

Details

The function used to convert XLSX documents to HTML for preview does not perform any input validation or sanitisation for the generated HTML https://github.com/open-webui/open-webui/blob/a7271532f8a38da46785afcaa7e65f9a45e7d753/src/lib/components/common/FileItemModal.svelte#L120-L133 XLSX attachments are processed by this function, converted to HTML with XLSX.utils.sheet_to_html before ultimately being assigned to the variable excelHtml. Later there is logic that causes this to be assigned directly to the DOM when the preview tab is selected. https://github.com/open-webui/open-webui/blob/a7271532f8a38da46785afcaa7e65f9a45e7d753/src/lib/components/common/FileItemModal.svelte#L358-L400

PoC

A python script to generate a payload file is as follows:

python
import xlsxwriter

payload = '<img src=x onerror="alert(\'XSS Triggered by XLSX file\')">'

workbook = xlsxwriter.Workbook('xss_payload.xlsx')
worksheet = workbook.add_worksheet()

payload_format = workbook.add_format()

worksheet.write_rich_string('A1',
    'This cell contains a hidden payload: ',
    payload_format, payload
)

worksheet.write('A2', 'This is a safe cell.')
worksheet.write('B1', 'Column B')

workbook.close()

Upload the generated file as an attachment to a chat, open the file modal, and click preview. Observe the XSS triggers. <img width="2444" height="1386" alt="image" src="https://github.com/user-attachments/assets/8400efb0-ea6f-4878-abdb-4c2fe529241f" /> This same process can be triggered in shared chats, allowing the payload to be distributed to victims. <img width="2386" height="1646" alt="image" src="https://github.com/user-attachments/assets/d0eda49c-8fcf-4fc4-bbb0-c8951b0369c3" />

Impact

Any user can create a weaponised chat that can be shared and subsequently used to target other users.

Low privilege users are at risk of having their session taken over by a payload that reads their token from local storage and exfiltrates it to an attacker controlled server.

Admins are at risk of exposing the server to RCE via same chain described in GHSA-w7xj-8fx7-wfch.

Caveats

The file attachment in the shared chat must be opened and previewed to trigger the vulnerability.

Recommendation

Sanitise the generated HTML with DOMPurify before assigning it to the DOM.

Executive ViewAI

Why It Matters

Open WebUI versions up to 0.7.2 contain a stored cross-site scripting flaw in Excel attachment previews, enabling authenticated low-privilege users to embed malicious payloads that execute in victims' browsers. Successful exploitation could lead to session token theft and potential server compromise via a separate RCE chain, posing a risk to collaboration platforms used across the organization. Leadership should prioritize patching to mitigate data exposure and operational disruption.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Medium
popular self-hosted LLM web UI, common in AI/self-hosting setups, not enterprise-ubiquitous
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

Affected Products (CPE)NVD

pkg:pip/open-webui

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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