Skip to content
Heist/ feed
Critical

Contao: Cross-site scripting in the comments bundle

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-107845

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-107845

contao

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "contao",
    "product": "contao",
    "versions": [
      {
        "status": "affected",
        "version": ">= 4.0.0, < 5.3.50"
      },
      {
        "status": "affected",
        "version": ">= 5.4.0-RC1, < 5.7.12"
      }
    ]
  }
]
Related CVEs
CVE-2026-107845

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#16489 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement