Critical severity · published Oct 9, 2026
CVE-2026-107845
Contao: Cross-site scripting in the comments bundle
9.3
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
contao · contao
>= 4.0.0, < 5.3.50; >= 5.4.0-RC1, < 5.7.12 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107845
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107845
x_refsource_CONFIRM
https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r
x_refsource_MISC
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
More from contao
9.8
CVE-2022-26265
Contao Managed Edition v1.5.0 was discovered to contain a remote command execution (RCE) vulnerability via the component php_cli parameter
9.8
CVE-2019-11512
Contao 4.x allows SQL Injection
8.8
CVE-2024-45398
Contao is an Open Source CMS
8.8
CVE-2012-4383
contao prior to 2.11.4 has a sql injection vulnerability
8.8
CVE-2019-19745
Contao 4.0 through 4.8.5 allows PHP local file inclusion
