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.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-116 — CWE-116: Improper Encoding or Escaping of Output
Affected products
| Vendor | Product | Versions |
|---|---|---|
| contao | contao | >= 4.0.0, < 5.3.50 [affected]; >= 5.4.0-RC1, < 5.7.12 [affected] |
References
- https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r (x_refsource_CONFIRM)
- https://github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a (x_refsource_MISC)
- https://github.com/contao/contao/releases/tag/5.3.50 (x_refsource_MISC)
- https://github.com/contao/contao/releases/tag/5.7.12 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 10 Oct 2026 19:47 UTC.