Skip to content
MediumVulnerability

GHSA-6gh2-q7cp-9qf6: Open WebUI has Stored Cross-Site Scripting In Profile Picture

Published
Record updated
View JSON
Affected
  • open-webui < 0.8.0
Fixed in
0.8.0
  • released February 12, 2026, 91 days before disclosure

Summary

Open WebUI versions before 0.8.0 accepted arbitrary data: URIs in the profile_image_url field without MIME-type validation. Because GET /api/v1/users/{user_id}/profile/image returned the user-controlled media type with inline disposition, an SVG image could run scripts in the application origin, enabling JWT theft from localStorage and account takeover, including of admins who loaded the malicious profile image.

Mitigation

Fixed in 0.8.0 (commit 773787c74). The validate_profile_image_url validator now applies to UserModel, UpdateProfileForm and SignupForm, rejecting data:image/svg+xml and non-image data URIs.