# CVE-2026-56398: Open WebUI - Stored Cross-Site Scripting via OAuth Picture Claim SVG Data URI

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:27:28.000Z
- Modified: 2026-07-16T20:03:37.680Z
- Also known as: GHSA-3wgj-c2hg-vm6q
- Weaknesses: CWE-20, CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- open-webui open-webui: before 0.9.5 (not affected: 0.9.5)
- open-webui (PyPI): before 0.9.5
- openwebui open_webui: before 0.9.5

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-3wgj-c2hg-vm6q> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/open-webui-stored-cross-site-scripting-via-oauth-picture-claim-svg-data-uri> (third-party-advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/open-webui/open-webui/releases/tag/v0.9.5> (web)

## Sources

- CVE List: [CVE-2026-56398](https://www.cve.org/CVERecord?id=CVE-2026-56398), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-3wgj-c2hg-vm6q](https://github.com/advisories/GHSA-3wgj-c2hg-vm6q), CC-BY-4.0, modified 2026-07-16
- NVD: [CVE-2026-56398](https://nvd.nist.gov/vuln/detail/CVE-2026-56398), Public domain, modified 2026-07-16

---

Page: https://cve.day/CVE-2026-56398 · Whole record: https://cve.day/CVE-2026-56398.json · Rebuilt by cve.day 2026-11-25T22:59:28.264Z
