CVE-2025-65960: Core bundle · Contao is vulnerable to remote code execution in template closures
Affects contao/core-bundleSource GCVE Database
Not known to be exploited · CVSS 6.6 Medium : upgrade to 4.13.57 when convenient.
Data as of 19 Nov 2026, 02:53 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.6 |
|---|
- Patch
- Available – fixed in 4.13.57, 5.3.42, 5.6.5
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade contao/core-bundle to 4.13.57; contao/core-bundle to 5.3.42; contao/core-bundle to 5.6.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistcontao/core-bundle | Affected
| Fixed in
|
| Packagistcontao/core-bundle | Affected
| Fixed in
|
| Packagistcontao/core-bundle | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update Contao core bundle to version 4.13.57, 5.3.42, or 5.6.5 to apply the official fix. Alternatively, apply the manual patch to the Contao\Template::once() method as a temporary workaround. No additional vendor advisories indicate other mitigations or that no action is required.
Description
Contao core bundle versions prior to 4.13.57, 5.3.42, and 5.6.5 are vulnerable to remote code execution via template closures. Backend users with the ability to control template closure contents can execute arbitrary PHP functions lacking required parameters. This vulnerability is addressed by updates to Contao 4.13.57, 5.3.42, and 5.6.5. A manual patch to the Contao\Template::once() method is also available as a workaround.
References
- github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-65960 (opens in a new tab)
- github.com/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1 (opens in a new tab)
- github.com/contao/contao/commit/676f0855d39007ac9a0dbe7ae6a7414cba2312a5 (opens in a new tab)
- github.com/contao/contao/commit/ebf84c90e5679a67060f396b924ce4a3c3f206b3 (opens in a new tab)
- contao.org/en/security-advisories/remote-code-execution-in-template-closures (opens in a new tab)
- github.com/contao/contao (opens in a new tab)