{"id":"CVE-2026-107845","published":"2026-10-09T19:29:55Z","modified":"2026-10-09T19:51:45Z","title":"Contao: Cross-site scripting in the comments bundle","vendor":"contao","product":"contao","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00474,"percentile":0.33252,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a","tags":["x_refsource_MISC"]},{"url":"https://github.com/contao/contao/releases/tag/5.3.50","tags":["x_refsource_MISC"]},{"url":"https://github.com/contao/contao/releases/tag/5.7.12","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":6.65},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"contao","affectedVersions":[{"vendor":"contao","product":"contao","versions":[">= 4.0.0, < 5.3.50",">= 5.4.0-RC1, < 5.7.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-09T19:51:37.559746Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"contao/comments-bundle","vulnerableRanges":[">=4.0.0, <5.3.50",">=5.4.0-RC1, <5.7.12"],"patched":["5.3.50","5.7.12"],"from":["GHSA-628f-v4f6-p37r"],"provenance":"source"}],"summary":{"text":"Contao's comments module renders the email and website metadata of visitor-submitted comments without sufficient attribute and URL encoding in listComments() in comments-bundle/contao/dca/tl_comments.php, a flaw in the Contao open source CMS. An unauthenticated visitor can submit a comment with attacker-controlled content that executes as script in the Contao backend origin when a backend user opens the Comments module, requiring that user to view the comment (even if unpublished) while logged in.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:21:24Z"},"euvd":{"id":"EUVD-2026-95975","exploited":false,"provenance":"source"}}