Home / open-webui / open-webui / CVE-2025-46571
CVE-2025-46571: is it exploited, and which versions of open-webui are affected and fixed?
CVE-2025-46571 is a cross-site scripting (XSS) vulnerability in open-webui. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: open-webui before 0.6.6 (GitHub advisory GHSA-8gh5-qqh8-hq3x). Fixed in 0.6.6 (GitHub advisory GHSA-8gh5-qqh8-hq3x). Severity: Medium (5.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-46571?
Open WebUI vulnerable to limited stored XSS vila uploaded html file
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.6.6, low privileged users can upload HTML files which contain JavaScript code via the `/api/v1/files/` backend endpoint. This endpoint returns a file id, which can be used to open the file in the browser and trigger the JavaScript code in the user's browser. Under the default settings, files uploaded by low-privileged users can only be viewed by admins or themselves, limiting the impact of this vulnerability. A link to such a file can be sent to an admin, and if clicked, will give the low-privileged user complete control over the admin's account, ultimately enabling RCE via functions. Version 0.6.6 contains a fix for the issue.
From the CVE record by GitHub_M, last updated May 5, 2025, 18:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| open-webui | open-webui | < 0.6.6 |
As the CVE record by GitHub_M states it, last updated May 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | open-webui | < 0.6.6 | 0.6.6 | GHSA-8gh5-qqh8-hq3x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 7, 2026. Summary: Open WebUI allows limited stored XSS vila uploaded html file.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openwebui | open webui | before 0.6.6 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:26 UTC.
How severe is CVE-2025-46571?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:P | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-46571 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 5, 2025)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-87 Improper Neutralization of Alternate XSS Syntax
Where are the vendor advisories and references?
- https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x x_refsource_CONFIRM
- https://github.com/open-webui/open-webui/commit/ef2aeb7c0eb976bac759e59ac359c94a5b8dc7e0 x_refsource_MISC
- https://github.com/open-webui/open-webui/blob/main/backend/open_webui/routers/files.py#L434-L438 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 24, 2025
- Published
- May 5, 2025, 18:45 UTC
- CVE record updated
- May 5, 2025, 18:59 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:26 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect open-webui?
- Oct 12, 2026CVE-2026-109572 open-webui: missing authorization
- Oct 12, 2026CVE-2026-109300 open-webui: cross-site scripting (XSS)
- Oct 12, 2026CVE-2026-109299 open-webui: denial of service (uncontrolled resource consumption)
- Oct 12, 2026CVE-2026-109298 open-webui: denial of service (uncontrolled resource consumption)
- Oct 12, 2026CVE-2026-109297 open-webui: denial of service (uncontrolled resource consumption)
- Oct 12, 2026CVE-2026-109296 open-webui: authorization bypass through a user-controlled key (IDOR)
- Oct 12, 2026CVE-2026-109295 open-webui: regular expression denial of service (ReDoS)
- Oct 12, 2026CVE-2026-109294 open-webui: denial of service (uncontrolled resource consumption)
Questions about CVE-2025-46571
Is CVE-2025-46571 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of open-webui are affected by CVE-2025-46571?
open-webui before 0.6.6, per the GitHub advisory GHSA-8gh5-qqh8-hq3x. The tables above give every range the sources list.
Which version fixes CVE-2025-46571?
0.6.6, per the GitHub advisory GHSA-8gh5-qqh8-hq3x. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-46571?
Medium (5.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-46571?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.