{"id":"CVE-2025-46571","published":"2025-05-05T18:45:29Z","modified":"2025-05-05T18:59:48Z","title":"Open WebUI vulnerable to limited stored XSS vila uploaded html file","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00375,"percentile":0.3228,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-webui/open-webui/commit/ef2aeb7c0eb976bac759e59ac359c94a5b8dc7e0","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/blob/main/backend/open_webui/routers/files.py#L434-L438","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":6.46},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.6.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-05T18:59:29.597804Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.6.6"],"patched":["0.6.6"],"from":["GHSA-8gh5-qqh8-hq3x","PYSEC-2026-2713"],"provenance":"source"}],"summary":{"text":"Open WebUI, a self-hosted AI platform, contains a stored cross-site scripting flaw in its file upload handling at the /api/v1/files/ backend endpoint, which accepts HTML files containing JavaScript. An attacker with low-privileged account access can upload such a file and send a link to it to an administrator, where opening the link in the browser runs the script under the admin's session, though it requires the administrator to click the link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:48Z"},"euvd":{"id":"EUVD-2025-13499","exploited":false,"provenance":"source"}}