Vulnerabilities · 2025 · Contao
CVE-2025-65960
Contao vulnerability
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.
Affected products
Contao. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Contao runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r
- github.com/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1
- github.com/contao/contao/commit/676f0855d39007ac9a0dbe7ae6a7414cba2312a5
- github.com/contao/contao/commit/ebf84c90e5679a67060f396b924ce4a3c3f206b3
- contao.org/en/security-advisories/remote-code-execution-in-template-closures
- nvd.nist.gov/vuln/detail/CVE-2025-65960
- github.com/advisories/GHSA-98vj-mm79-v77r
- nvd.nist.gov/vuln/detail/CVE-2025-65960
- cve.org/CVERecord?id=CVE-2025-65960
More vulnerabilities in Contao products
CVE-2025-65961CVE-2025-57759CVE-2025-57758CVE-2025-57757CVE-2025-57756CVE-2025-29790CVE-2024-45965CVE-2024-45612All 42
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.