Live threats

All CVEs / contao

CVE-2026-107845contao

Cross-Site Scripting (XSS) in Contao Comments Module

Critical 9.3 No auth needed

Priority
71
CVSS 3.1
9.3
EPSS
—
Auth required
No
Published
Oct 9, 2026
Updated
Oct 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-116
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

What happens

Contao versions 4.0.0 through 5.3.49 and 5.7.11 contain a stored XSS vulnerability in the comments module. An unauthenticated visitor can submit comments with malicious email or website metadata that are rendered without sufficient encoding. When a backend user opens the Comments module, attacker-controlled script executes in the Contao backend origin under that user's session.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 5.3.50, 5.7.12

Update Contao to version 5.3.50 or 5.7.12 depending on your maintenance branch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for contao.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist contao/comments-bundle ≥ 4.0.0 < 5.3.50 5.3.50 composer require "contao/comments-bundle:^5.3.50"
Packagist contao/comments-bundle ≥ 5.4.0-RC1 < 5.7.12 5.7.12 composer require "contao/comments-bundle:^5.7.12"

Per OSV / GitHub Advisories (GHSA-628f-v4f6-p37r). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.