Skip to content
MediumVulnerability

GHSA-hcwp-82g6-8wxc: Open WebUI has stored XSS via unsanitized Office/Excel/DOCX file preview rendering ({@html} without DOMPurify)

Published
Record updated
View JSON
Affected
  • open-webui <= 0.9.2
Fixed in
0.9.3
  • released May 9, 2026, 5 days before disclosure

Summary

Open WebUI renders user-uploaded Excel and DOCX files as HTML through Svelte's `{@html}` directive without DOMPurify sanitization, reintroducing a stored XSS previously fixed in GHSA-jwf8-pv5p-vhmc (patched in v0.8.0). The same root cause, `XLSX.utils.sheet_to_html()` output rendered via `{@html excelHtml}`, is exploitable again as of v0.8.12. The advisory also covers the related `fileOfficeHtml` sink in `src/lib/components/chat/FileNav.svelte` (lines 458 and 1285), which was outside the jwf8 scope.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.