CVE-2024-8017 Cross-site Scripting (XSS) in open-webui/open-webui
Attackers can inject scripts via tooltips to steal chat history or escalate privileges to admin in Open WebUI.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-8017?
CVE-2024-8017 is a critical cross-site scripting vulnerability in Openwebui Open Webui, published on 20 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the HTML for tooltips. This vulnerability allows attackers to perform operations with the victim's privileges, such as stealing chat history, deleting chats, and escalating their own account to an admin if the victim is an admin.
Weakness: CWE-79
Which versions are affected by CVE-2024-8017?
It affects 1 product.
Products include Openwebui Open Webui.
How do I fix CVE-2024-8017?
No fix has been published for CVE-2024-8017 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-8017 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8017 exists.
Other vulnerabilities in Openwebui Open Webui
- CVE-2026-44551 Open WebUI: LDAP Empty Password Authentication Bypass
- CVE-2026-56400 open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation
- CVE-2026-45672 Open WebUI: Jupyter code execution works despite `ENABLE_CODE_EXECUTION=false` — feature gate bypassed
- CVE-2026-87995 Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
- CVE-2026-70492 Open WebUI: Stored XSS via unescaped KaTeX render-error fallback in rendered messages
Sources
Also known as GHSA-82mg-566w-vpxp.