Open WebUI CVE-2026-44549
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privilege user
-
DeliveryUpload crafted XLSX with HTML payload in a cell
-
ExploitShare chat with victim(s)
-
InstallVictim opens file modal and clicks preview
-
C2sheet_to_html emits payload, @html injects it into DOM
-
ExecuteScript runs in victim session, steals token from local storage
-
ImpactExfiltrate 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
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.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
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:
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-jwf8-pv5p-vhmc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB