{"id":"CVE-2025-46571","summary":"Open WebUI vulnerable to limited stored XSS vila uploaded html file","details":"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.","aliases":["GHSA-8gh5-qqh8-hq3x","PYSEC-2026-2713"],"modified":"2026-08-12T03:51:25.726046464Z","published":"2025-05-05T18:45:29.718Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46571.json"},"references":[{"type":"WEB","url":"https://github.com/open-webui/open-webui/blob/main/backend/open_webui/routers/files.py#L434-L438"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46571.json"},{"type":"ADVISORY","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46571"},{"type":"FIX","url":"https://github.com/open-webui/open-webui/commit/ef2aeb7c0eb976bac759e59ac359c94a5b8dc7e0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"0"},{"fixed":"23b9354cf6575bfe82e67df0660128d5a92461fc"},{"fixed":"ef2aeb7c0eb976bac759e59ac359c94a5b8dc7e0"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.6.6"}]}}],"versions":["v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.16","v0.5.20","v0.5.19","v0.5.18","v0.5.17","v0.5.15","v0.5.14","v0.5.12","v0.5.13","v0.5.11","v0.5.10","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.8","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.35","v0.3.34","v0.3.33","v0.3.32","v0.3.31","v0.3.30","v0.3.29","v0.3.28","v0.3.27","v0.3.26","v0.3.25","v0.3.24","v0.3.23","v0.3.22","v0.3.21","v0.3.20","v0.3.19","v0.3.18","v0.3.17","v0.3.16","v0.3.15","v0.3.14","v0.3.13","v0.3.12","v0.3.11","v0.3.10","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.125","v0.1.124","v0.1.123","v0.1.122","v0.1.114","v0.1.121","v0.1.120","v0.1.119","v0.1.118","v0.1.117","v0.1.116","v0.1.115","v0.1.108","v0.1.113","v0.1.112","v0.1.111","v0.1.110","v0.1.109","v0.1.107","v0.1.106","v0.1.105","v0.1.104","v0.1.103","v0.1.102"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46571.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}