CVE-2026-56398
Description
Open WebUI before 0.9.5 contains a stored cross-site scripting vulnerability in the OAuth authentication flow where the picture claim URL MIME type is inferred from file extension rather than Content-Type header, allowing SVG files to bypass the profile image validator and be stored as data URIs. Authenticated users who visit the profile image endpoint receive attacker-controlled SVG content with inline disposition and no default security headers, enabling script execution in the same origin to steal authentication tokens and achieve account takeover.
How to fix
- openwebui open_webui0.9.5 or later
- open-webui0.9.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openwebui open_webui | v < 0.9.5 | 0.9.5 |
| open-webuiPyPI | v < 0.9.5 | 0.9.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.