Cross-site scripting in Open WebUI - CVE-2026-45318

 

Cross-site scripting in Open WebUI - CVE-2026-45318

Published: May 11, 2026


Vulnerability identifier: #VU130936
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-45318
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary script in a victim's browser.

The vulnerability exists due to improper neutralization of input during web page generation in Office file preview rendering in FilePreview.svelte and FileItemModal.svelte when rendering HTML converted from user-supplied Office, Excel, or DOCX files via Svelte {@html} without DOMPurify sanitization. A remote user can upload a specially crafted document and have it rendered during file preview to execute arbitrary script in a victim's browser.

User interaction is required when a user previews the crafted file, and shared multi-user instances are especially exposed because the malicious file is stored server-side and can affect each viewer.


Affected software

Open WebUI

How to mitigate CVE-2026-45318

Install security update from vendor's website.

Open WebUI - update to 0.9.3

External References

Related Security Bulletins