# CVE-2026-45303: Open WebUI: Stored XSS via the HTML renedering view

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A: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.22%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:16:07.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-4vrc-m9ch-6m3r, PYSEC-2026-2704
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.5, through the HTML rendering view, scripts can be injected and executed. The frontend provides a function to visualize the HTML content of a current chat. The content is embedded in an iFrame with the allow-scripts allow-forms allow-same-origin sandbox directive. This means that the content is placed in a sandbox but with permission to execute scripts and access the parent’s data (e.g., local storage). As a result, only a few functions are restricted (e.g., displaying an alert box), but in effect, the sandbox attribute is largely nullified. This vulnerability is fixed in 0.6.5.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.6.5
- open-webui (PyPI): before 0.6.5
- openwebui open_webui: before 0.6.5

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-4vrc-m9ch-6m3r> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45303> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-4vrc-m9ch-6m3r> (advisory)

## Sources

- CVE List: [CVE-2026-45303](https://www.cve.org/CVERecord?id=CVE-2026-45303), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-4vrc-m9ch-6m3r](https://github.com/advisories/GHSA-4vrc-m9ch-6m3r), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45303](https://nvd.nist.gov/vuln/detail/CVE-2026-45303), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-2704](https://osv.dev/vulnerability/PYSEC-2026-2704), CC-BY-4.0, modified 2026-07-13

---

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