{
  "id": "CVE-2026-56398",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-56398",
  "published_at": "2026-07-15T11:25:30.722Z",
  "title": "Open WebUI - Stored Cross-Site Scripting via OAuth Picture Claim SVG Data URI",
  "vendor": "open-webui",
  "product": "open-webui",
  "cvss": {
    "score": 9,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Open WebUI before 0.9.5 contains a stored cross-site scripting vulnerability in the OAuth authentication flow where the picture claim URL MIME type is inferred from file extension rather than Content-Type header, allowing SVG files to bypass the profile image validator and be stored as data URIs. Authenticated users who visit the profile image endpoint receive attacker-controlled SVG content with inline disposition and no default security headers, enabling script execution in the same origin to steal authentication tokens and achieve account takeover.",
  "cwe": "CWE-20",
  "cpes": [
    "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.5,
    "nvd": 9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "open-webui",
        "product": "open-webui",
        "ranges": [
          "\u003c 0.9.5"
        ],
        "fixed_in": [
          "0.9.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade open-webui to 0.9.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-3wgj-c2hg-vm6q"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
