Skip to content
Heist/ feed
Back to feed
High

Open WebUI: Stored XSS to Account Takeover via Model Profile Images in Open WebUI

Type: advisorySources: OSV

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, Open WebUI patched SVG XSS in user profile images and webhook profile images but forgot to apply the same fix to model profile images. The ModelMeta class has no validate_profile_image_url field validator, and the model image serving endpoint has no MIME allowlist or nosniff header. Any authenticated user with workspace.models permission (enabled by default) can store a data:image/svg+xml;base64,... payload in a model's profile image and achieve full account takeover of anyone who navigates to the image URL. This vulnerability is fixed in 0.9.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-54013
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 09:41 UTC · Revision 1

Source evidence

Open WebUI: Stored XSS to Account Takeover via Model Profile Images in Open WebUI

core-osv · Original source

Published 23 Jun 2026, 16:46 UTC

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, Open WebUI patched SVG XSS in user profile images and webhook profile images but forgot to apply the same fix to model profile images. The ModelMeta class has no validate_profile_image_url field validator, and the model image serving endpoint has no MIME allowlist or nosniff header. Any authenticated user with workspace.models permission (enabled by default) can store a data:image/svg+xml;base64,... payload in a model's profile image and achieve full account takeover of anyone who navigates to the image URL. This vulnerability is fixed in 0.9.6.

osv:CVE-2026-54013
Complete source record
{
  "id": "232db34c64581a6626692245a91671a7a3d1b7a15a31985dbc556c516e402d39",
  "url": "https://osv.dev/vulnerability/CVE-2026-54013",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Open WebUI: Stored XSS to Account Takeover via Model Profile Images in Open WebUI",
    "summary": "Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, Open WebUI patched SVG XSS in user profile images and webhook profile images but forgot to apply the same fix to model profile images. The ModelMeta class has no validate_profile_image_url field validator, and the model image serving endpoint has no MIME allowlist or nosniff header. Any authenticated user with workspace.models permission (enabled by default) can store a data:image/svg+xml;base64,... payload in a model's profile image and achieve full account takeover of anyone who navigates to the image URL. This vulnerability is fixed in 0.9.6.",
    "evidence": "osv:CVE-2026-54013",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-54013",
      "aliases": [
        "CVE-2026-54013",
        "GHSA-v2qm-5wxj-qhj7",
        "PYSEC-2026-2757"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/open-webui/open-webui",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1a97751e376e00a1897bc3679215ae1c7bd8fd42"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.9.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54013.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.197534947Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54013.json",
        "https://github.com/open-webui/open-webui/security/advisories/GHSA-v2qm-5wxj-qhj7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-54013"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-116",
          "CWE-693",
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54013.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-54013",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518904,
  "published_at": "2026-06-23T16:46:28.075+00:00"
}