Unknown · Open-Webui · CVE-2026-54013
**Name of the Vulnerable Software and Affected Versions**
Open WebUI versions prior to 0.9.6
**Description**
Open WebUI contains a stored Cross-Site Scripting (XSS) issue where the platform fails to validate profile images for models. While similar issues were patched for user and webhook profile images, the `ModelMeta` class lacks a `validate profile image url` field validator. Additionally, the model image serving endpoint does not implement a MIME allowlist or the `X-Content-Type-Options: nosniff` header. An authenticated user with `workspace.models` permissions can store a malicious `data:image/svg+xml;base64,...` payload in a model's profile image. If another user navigates to the image URL, the embedded script executes in the application's origin, potentially leading to full account takeover via token theft from local storage.
Technical details include:
- **API Endpoints:** '/api/v1/models/create', '/api/v1/models/update', '/api/v1/models/import', and the serving endpoint '/api/v1/models/model/profile/image'.
- **Vulnerable Parameters:** The `profile image url` variable within the `ModelMeta` class.
**Recommendations**
Update to version 0.9.6.
As a temporary workaround, restrict the `workspace.models` permission to trusted administrators to prevent unauthorized users from uploading malicious model profile images.