CVE-2025-65960
Contao is vulnerable to remote code execution in template closures
6.6CVSSMEDIUM
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 Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:HPrivileges RequiredHigh
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
Exploitability
Official Patch Available
References
https://contao.org/en/security-advisories/remote-code-execution-in-template-closures
contao.org
https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r
github.com
https://nvd.nist.gov/vuln/detail/CVE-2025-65960
nvd.nist.gov
and 4 more references View all →
Timeline
Published
Nov 25, 2025
Last Updated
Dec 3, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-65960 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows