CVE-2025-65960Insufficient Type Distinction in Contao

Severity
6.6MEDIUMNVD
EPSS
0.0%
top 91.17%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedNov 25

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

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.7 | Impact: 5.9

Affected Packages3 packages

NVDcontao/contao4.0.04.13.57+2
Packagistcontao/core-bundle4.0.04.13.57+2
CVEListV5contao/contao>= 4.0.0, < 4.13.57, >= 5.0.0-RC1, < 5.3.42, >= 5.4.0-RC1, < 5.6.5+2

🔴Vulnerability Details

3
OSV
Contao is vulnerable to remote code execution in template closures2025-11-25
CVEList
Contao is vulnerable to remote code execution in template closures2025-11-25
GHSA
Contao is vulnerable to remote code execution in template closures2025-11-25
CVE-2025-65960 — Insufficient Type Distinction | cvebase