Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M
CVE-2026-54013Open WebUI: Stored XSS to Account Takeover via Model Profile Images in Open WebUI
High 7.6
In plain English
A high-severity cross-site scripting in open-webui from open-webui. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | open-webui | 0.9.6 | GHSA-v2qm-5wxj-qhj7 |
| PyPI | open-webui | 0.9.6 | PYSEC-2026-2757 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-webui | open-webui | < 0.9.6 |
Weakness: CWE-79, CWE-116, CWE-693 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-v2qm-5wxj-qhj7 x_refsource_CONFIRM