Skip to content
OpenAdvisories
High · 7.7 CVE-2026-45303 EUVD-2026-30654GHSA-4vrc-m9ch-6m3rPYSEC-2026-2704

Open WebUI: Stored XSS via the HTML renedering view

Published May 15, 2026 · Updated May 19, 2026 · 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.

Affected products

VendorProductAffectedFixed
open-webui open-webui < 0.6.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI open-webui < 0.6.5 0.6.5 GHSA-4vrc-m9ch-6m3r

References