Skip to content
Fencer Vulns
medium 6.6

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

Sources

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.