What’s Vulnerable › Vulnerabilities
CVE-2025-65961: Contao is vulnerable to cross-site scripting in templates
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-25 · updated 2026-10-18
- Weakness: CWE-87
Description
Contao is an Open Source CMS. From version 4.0.0 to before 4.13.57, before 5.3.42, and before 5.6.5, it is possible to inject code into the template output that will be executed in the browser in the front end and back end. This issue has been patched in versions 4.13.57, 5.3.42, and 5.6.5. A workaround for this issue involves not using the affected templates or patch them manually.
Affected products
- contao: from 4.0.0 before 4.13.57; from 5.0.0 before 5.3.42; from 5.4.0 before 5.6.5 — fixed in 4.13.57, 5.3.42, 5.6.5
How to fix
Upgrade to a fixed version: contao 4.13.57, 5.3.42, 5.6.5. Check the vendor advisory for mitigations.
References
- https://contao.org/en/security-advisories/cross-site-scripting-in-templates
- https://github.com/contao/contao/security/advisories/GHSA-68q5-78xp-cwwc
Get alerted when CVE-2025-65961 or the next vulnerability affects your stack