CVE-2025-46571: Open WebUI - Stored XSS
- Cve: CVE-2025-46571
- Name: Open WebUI - Stored XSS
- Description: 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.
- Impact: Attackers can hijack admin accounts and execute arbitrary code in admin browsers, leading to remote code execution and full system compromise.
- Remediation: Update to version 0.6.6 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to send a malicious link to an admin
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00375
- Epss percentile: 0.32125
- Assignee: [email protected]
- Published at: 2025-05-05T19:15:57Z
- Age in days: 568
- Modified at: 2026-06-17T09:26:38Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-46571
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x | nvd | 2025-05-05 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openwebui:open_webui | < 0.6.6 | no | nvd | /v1/products/openwebui/open_webui |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| open-webui/open-webui | commit, fix, package, releases, security_advisory | yes | /v1/repositories/open-webui/open-webui |
Index
- Repositories: 2
- Repositories high signal: 2
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-05-05
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts