CVE-2024-8017 Cross-site Scripting (XSS) in open-webui/open-webui

Critical 9.0 Published Updated

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.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-82mg-566w-vpxp.

Is CVE-2024-8017 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free