XSS (Cross-Site Scripting) dans contao/comments-bundle (CVE-2026-107845)
Résumé
XSS dans contao/comments-bundle (CVE-2026-107845). Des informations confidentielles peuvent être exposées. Atténuation : mise à jour vers 5.7.12 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
An unauthenticated front end visitor can post a comment containing a XSS injection. The victim is any back end user who opens the Comments module, and moderation makes exposure certain rather than preventing it. No Content-Security-Policy header is sent on the Contao back end, so nothing mitigates the inline handler.
Impact
Anyone on the internet can inject script that executes in the Contao back end origin, under the session of whichever user opens the Comments module, with no click and no hover. From there the payload acts as that user through the back end: reading any module they can reach, creating a new administrator, or editing a template, which on Contao is a documented path from back end write access to code execution. Moderation does not help and in fact guarantees exposure, since unpublished comments are still inserted and a moderator has to open the list to act on them.
Source: NIST National Vulnerability Database 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-107845 a été découverte dans contao/comments-bundle.
Des informations confidentielles peuvent être exposées. Score CVSS : 9.3/10.
Action : mettez à jour contao/comments-bundle vers 5.7.12 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « contao/comments-bundle CVE-2026-107845 » sur le site de l'éditeur.
CVE-2026-107845 (contao/comments-bundle) — CWE-79 / CVSS v3 9.3
Vecteur d'attaque : distant (réseau) / non authentifié
Correctif : 5.7.12 — 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 contao/comments-bundle.
Consultez l'avis de l'éditeur pour les versions affectées de contao/comments-bundle.
Gravité : Critique (CVSS 9.3/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 5.7.12.
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 'contao/comments-bundle' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
contao/comments-bundleを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade contao/comments-bundle to 5.7.12ステージング環境で 5.7.12 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。