Cross-site scripting in Open WebUI - CVE-2026-26192
Published: April 24, 2026
Open WebUI
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary script in the victim's browser.
The vulnerability exists due to cross-site scripting in the citation preview iFrame rendering in CitationModal.svelte when previewing a citation containing attacker-controlled document content marked as HTML. A remote user can modify chat history to set the html metadata property and inject a crafted document payload to execute arbitrary script in the victim's browser.
User interaction is required to expand the sources and click the document containing the payload. The payload also executes when the citation is viewed in a shared chat.