Skip to content
MediumVulnerability

GHSA-8gh5-qqh8-hq3x: Open WebUI allows limited stored XSS vila uploaded html file

Published
Record updated
View JSON
Affected
  • open-webui < 0.6.6
Fixed in
0.6.6
  • released May 5, 2025, 428 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Low-privileged Open WebUI users can upload HTML files containing JavaScript through the /api/v1/files/ backend endpoint, which returns a file id. Opening that file at /api/v1/files/<file_id>/content/html runs the script in the viewer's browser. Default settings limit viewing to admins and the uploader, but a malicious link sent to an admin can give the low-privileged user full control of the admin's account, which the advisory says can lead to RCE via functions.

Mitigation

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