CVE-2025-65960 json
Contao is vulnerable to remote code execution in template closures
published 2025-11-25 11 mo ago modified 2026-10-18 21 d ago also EUVD-2025-199633 , GHSA-98vj-mm79-v77r
- cvss
- 6.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist contao/core-bundle 4.13.57, 5.3.42, 5.6.5
- contao contao 4.13.57, 5.3.42, 5.6.5
- contao contao_cms 4.13.57, 5.3.42, 5.6.5
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 11 mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | contao/core-bundle | >=4.0.0, <4.13.57 >=5.0.0-RC1, <5.3.42 >=5.4.0-RC1, <5.6.5 |
4.13.57 5.3.42 5.6.5 |
Affected products
- contao contao
Classification
- Weakness
-
- CWE-351 Insufficient Type Distinction
References
-
github.com
/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1
web
-
github.com
/contao/contao/commit/676f0855d39007ac9a0dbe7ae6a7414cba2312a5
web
-
github.com
/contao/contao/commit/ebf84c90e5679a67060f396b924ce4a3c3f206b3
web
-
github.com
/contao/contao/security/advisories/GHSA-98vj-mm79-v77r
web, vendor-advisory
-
contao.org
/en/security-advisories/remote-code-execution-in-template-closures
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-65960
advisory
-
github.com
/contao/contao
package
Sources
- CVE List CVE-2025-65960
- GitHub Advisory GHSA-98vj-mm79-v77r
- NVD CVE-2025-65960
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.