CVE-2026-45299 Open WebUI: Stored Cross-Site Scripting In Profile Picture

Medium 5.4 Published Updated

Attackers can inject malicious scripts via profile picture URLs in Open WebUI, potentially leading to code execution or account takeover.

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
Available

What is CVE-2026-45299?

CVE-2026-45299 is a medium-severity cross-site scripting vulnerability in Openwebui Open Webui, published on 15 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.0, the profile_image_url field on the user profile update form accepted arbitrary data: URI values without MIME-type validation, resulting in a XSS vulnerability. This vulnerability is fixed in 0.8.0.

Weakness: CWE-79

Which versions are affected by CVE-2026-45299?

3 open source packages ship an affected version, including open-webui. It affects 1 product.

PackageAffectedFixed in
open-webui PyPIAll versions0.8.0
open-webui PyPIAll versions0.8.0
open-webui PyPIAll versions0.8.0

Products include Openwebui Open Webui.

How do I fix CVE-2026-45299?

Upgrade open-webui to 0.8.0 or later.

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-2026-45299 being exploited?

There is no known exploitation of CVE-2026-45299 in the wild and no public exploit code.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-6gh2-q7cp-9qf6, PYSEC-2026-2708.

Is CVE-2026-45299 in your software?

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

Check your SBOMs for free