CVE-2026-107845
Contao is an Open Source CMS. From version 4.0.0 until 5.3.50 and …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- 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
- github.com/advisories/GHSA-628f-v4f6-p37r
- nvd.nist.gov/vuln/detail/CVE-2026-107845
- cve.org/CVERecord?id=CVE-2026-107845
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.