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.
Severity
HIGH
CVSS v3
7.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N · source cna
CVSS v4
8.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N · source cna
Exploit chance (EPSS)
0.635%
chance of exploitation in the next 30 days
higher than 51% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-20: Improper Input Validation
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-15 |
Timeline
- 2026-05-14GitHub advisory published (GHSA-3wgj-c2hg-vm6q)62 days before publication
- 2026-07-15Published by the CNA11:25 UTC
- 2026-07-15CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-3wgj-c2hg-vm6q, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI open-webui | before 0.9.5 | 0.9.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openwebui open_webui | before 0.9.5fixed in 0.9.5 | 0.9.5 |
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-3wgj-c2hg-vm6q
- https://www.vulncheck.com/advisories/open-webui-stored-cross-site-scripting-via-oauth-picture-claim-svg-data-uri
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-56398'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-56398'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-56398'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-56398'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).