{"id":"CVE-2026-107845","state":"PUBLISHED","title":"Contao: Cross-site scripting in the comments bundle","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.","publishedAt":"2026-10-09T19:29:55.396Z","updatedAt":"2026-10-09T19:51:45.890Z","severity":{"score":9.3,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["contao contao"],"affected":[{"vendor":"contao","product":"contao","versions":[{"version":">= 4.0.0, < 5.3.50","status":"affected"},{"version":">= 5.4.0-RC1, < 5.7.12","status":"affected"}]}],"references":["https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r","https://github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a","https://github.com/contao/contao/releases/tag/5.3.50","https://github.com/contao/contao/releases/tag/5.7.12"],"weaknesses":["CWE-79","CWE-116"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/107xxx/CVE-2026-107845.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107845","state":"PUBLISHED","datePublished":"2026-10-09T19:29:55.396Z","dateUpdated":"2026-10-09T19:51:45.890Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-08T22:34:49.291Z"},"containers":{"cna":{"title":"Contao: Cross-site scripting in the comments bundle","descriptions":[{"lang":"en","value":"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":[{"vendor":"contao","product":"contao","versions":[{"version":">= 4.0.0, < 5.3.50","status":"affected"},{"version":">= 5.4.0-RC1, < 5.7.12","status":"affected"}]}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r","name":"https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a","name":"https://github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a","tags":["x_refsource_MISC"]},{"url":"https://github.com/contao/contao/releases/tag/5.3.50","name":"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","name":"https://github.com/contao/contao/releases/tag/5.7.12","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-116","lang":"en","description":"CWE-116: Improper Encoding or Escaping of Output","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-09T19:29:55.396Z"},"source":{"advisory":"GHSA-628f-v4f6-p37r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-09T19:51:37.559746Z","id":"CVE-2026-107845","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-09T19:51:45.890Z"}}]}}}