CVE-2026-54013 Open WebUI: Stored XSS to Account Takeover via Model Profile Images in Open WebUI

High 7.6 Published Updated

Authenticated users can inject malicious SVG payloads into model profile images, leading to stored XSS and potential account takeover of other users.

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-54013?

CVE-2026-54013 is a high-severity cross-site scripting vulnerability in Openwebui Open Webui, published on 23 Jun 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.9.6, Open WebUI patched SVG XSS in user profile images and webhook profile images but forgot to apply the same fix to model profile images. The ModelMeta class has no validate_profile_image_url field validator, and the model image serving endpoint has no MIME allowlist or nosniff header. Any authenticated user with workspace.models permission (enabled by default) can store a data:image/svg+xml;base64,... payload in a model's profile image and achieve full account takeover of anyone who navigates to the image URL. This vulnerability is fixed in 0.9.6.

Weakness: CWE-79, CWE-693, CWE-116

Which versions are affected by CVE-2026-54013?

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

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

Products include Openwebui Open Webui.

How do I fix CVE-2026-54013?

Upgrade open-webui to 0.9.6 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-54013 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54013 exists.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-v2qm-5wxj-qhj7, PYSEC-2026-2757.

Is CVE-2026-54013 in your software?

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

Check your SBOMs for free