製品・ソフトウェアに関する情報
openwebuiのopen webuiにおける入力確認に関する脆弱性
Title openwebuiのopen webuiにおける入力確認に関する脆弱性
Summary

Open WebUIのバージョン0.9.5未満には、OAuth認証フローにおいて格納型クロスサイトスクリプティングの脆弱性があります。この脆弱性は、画像クレームのURLのMIMEタイプがContent-Typeヘッダーではなくファイル拡張子から推論されるため、SVGファイルがプロフィール画像バリデーターを回避してデータURIとして保存されてしまうことに起因しています。認証済みユーザーがプロフィール画像エンドポイントにアクセスすると、攻撃者制御下のSVGコンテンツがインライン配置され、かつデフォルトのセキュリティヘッダーが付与されない状態で配信されます。そのため、同一オリジン内でスクリプトが実行され、認証トークンの窃取やアカウントの乗っ取りが可能となります。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date July 15, 2026, midnight
Registration Date July 21, 2026, 10:40 a.m.
Last Update July 21, 2026, 10:40 a.m.
CVSS3.0 : 緊急
Score 9
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Affected System
openwebui
open webui 0.9.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年07月21日]
  掲載
July 21, 2026, 10:40 a.m.

NVD Vulnerability Information
CVE-2026-56398
Summary

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.

Publication Date July 15, 2026, 9:18 p.m.
Registration Date July 16, 2026, 4:26 a.m.
Last Update July 17, 2026, 5:03 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* 0.9.5
Related information, measures and tools
Common Vulnerabilities List