Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. contao/comments-bundle
  4. ›
  5. CVE-2026-107845

CVE-2026-107845: Contao: Cross-site scripting in the comments bundle

October 9, 2026

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.

References

  • github.com/advisories/GHSA-628f-v4f6-p37r
  • github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a
  • github.com/contao/contao/releases/tag/5.3.50
  • github.com/contao/contao/releases/tag/5.7.12
  • github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r
  • nvd.nist.gov/vuln/detail/CVE-2026-107845

Code Behaviors & Features

Detect and mitigate CVE-2026-107845 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0 before 5.3.50, all versions starting from 5.4.0-RC1 before 5.7.12

Fixed versions

  • 5.3.50
  • 5.7.12

Solution

Upgrade to versions 5.3.50, 5.7.12 or above.

Impact 9.3 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/contao/comments-bundle/CVE-2026-107845.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:44 +0000.