Vulnerability 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, back end users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters. This issue has been patched in versions 4.13.57, 5.3.42, and 5.6.5. A workaround for this issue involves manually patching the Contao\Template::once() method.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Contao | Contao | >= 4.0.0, < 4.13.57 |
Related Weaknesses (CWE)
References
- https://contao.org/en/security-advisories/remote-code-execution-in-template-closVendor Advisory
- https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77rVendor Advisory
FAQ
What is CVE-2025-65960?
CVE-2025-65960 is a vulnerability with a CVSS score of 6.6 (MEDIUM). 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, back end users with precise control over the contents of template closures can execute arbitrary PH...
How severe is CVE-2025-65960?
CVE-2025-65960 has been rated MEDIUM with a CVSS base score of 6.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-65960?
Check the references section above for vendor advisories and patch information. Affected products include: Contao Contao.