Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-107845 EUVD-2026-95975GHSA-628f-v4f6-p37r

Contao: Cross-site scripting in the comments bundle

Published Oct 9, 2026 · Updated Oct 9, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
contao contao >= 4.0.0, < 5.3.50, >= 5.4.0-RC1, < 5.7.12 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist contao/comments-bundle >= 4.0.0, < 5.3.50 5.3.50 GHSA-628f-v4f6-p37r
Packagist contao/comments-bundle >= 5.4.0-RC1, < 5.7.12 5.7.12 GHSA-628f-v4f6-p37r

Advisories 1

References