Skip to content
HighVulnerability

GHSA-v2qm-5wxj-qhj7: Open WebUI: Stored XSS to Account Takeover via Model Profile Images

Published
Record updated
View JSON
Affected
  • open-webui <= 0.9.5
Fixed in
0.9.6
  • released June 1, 2026, 16 days before disclosure

Summary

Open WebUI <= 0.9.5 fails to apply the SVG XSS fix to model profile images. The `ModelMeta` class has no `validate_profile_image_url` validator, and the model profile image endpoint (`GET /api/v1/models/model/profile/image`) lacks a MIME allowlist and `X-Content-Type-Options: nosniff`. Any user with `workspace.models` permission, enabled by default, can store an SVG `data:` URI as a model's profile image, which the source says leads to account takeover for anyone who opens the image URL.

Mitigation

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