{"cve":"CVE-2025-46571","nvd":{"published":"2025-05-05T19:15:57.050","modified":"2026-06-17T09:26:38.630","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/open-webui/open-webui/blob/main/backend/open_webui/routers/files.py#L434-L438","https://github.com/open-webui/open-webui/commit/ef2aeb7c0eb976bac759e59ac359c94a5b8dc7e0","https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x"],"products":["openwebui:open_webui"],"source":"nvd","synced_at":"2026-10-19T22:01:22.920403922+00:00"},"epss":{"cve":"CVE-2025-46571","score":0.00368,"percentile":0.3074,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8gh5-qqh8-hq3x","url":"https://osv.dev/vulnerability/GHSA-8gh5-qqh8-hq3x","summary":"Open WebUI  allows limited stored XSS vila uploaded html file","modified":"2026-07-13T16:42:38.729338618Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.6.6"],"fixed":["0.6.6"]}]},{"id":"PYSEC-2026-2713","url":"https://osv.dev/vulnerability/PYSEC-2026-2713","summary":"Open WebUI  allows limited stored XSS vila uploaded html file","modified":"2026-07-13T16:32:18.798916650Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.6.6"],"fixed":["0.6.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}