Skip to main content
← All vulnerabilities
CVE-2026-107845GHSA-628F-V4F6-P37R

Contao: Cross-site scripting in the comments bundle

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.3.50, 5.7.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Contao is an Open Source CMS. From version 4.0.0 until 5.3.50 and 5.7.12, an unauthenticated visitor can submit a comment whose email or website metadata is rendered without sufficient attribute and URL encoding by listComments() in comments-bundle/contao/dca/tl_comments.php. When a backend user opens the Comments module, attacker-controlled script can execute in the Contao backend origin under that user's session. Unpublished comments remain visible to moderators, so moderation does not prevent exposure. This issue is fixed in versions 5.3.50 and 5.7.12.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • contao contao

    From 4.0.0 · fixed in 5.3.50; From 5.4.0-RC1 · fixed in 5.7.12

  • contao/comments-bundlePackagist

    From 4.0.0 · fixed in 5.3.50

  • contao/comments-bundlePackagist

    From 5.4.0-RC1 · fixed in 5.7.12

References 4

GitHub · contao/contao