Skip to content

CVE-2025-65960 Contao is vulnerable to remote code execution in template closures

MediumCVSS 6.6 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
contao/contao = >= 4.0.0, < 4.13.57; = >= 5.0.0-RC1, < 5.3.42; = >= 5.4.0-RC1, < 5.6.5; >= 4.0.0, < 4.13.57 +2 more 4.13.57, 5.3.42, 5.6.5 Fixed
contao/core-bundle(Packagist) = 4.0.0; = 4.0.1; = 4.0.2; = 4.0.3 +434 more 4.13.57, 5.3.42, 5.6.5 Fixed

Affected products

ProductAffected versionsFixed in
contao/core-bundle(Packagist) >= 4.0.0, < 4.13.57 4.13.57
contao/core-bundle(Packagist) = 4.0.0 No fix listed
contao/core-bundle(Packagist) = 4.0.1 No fix listed
contao/core-bundle(Packagist) = 4.0.2 No fix listed
contao/core-bundle(Packagist) = 4.0.3 No fix listed
contao/core-bundle(Packagist) = 4.0.4 No fix listed
contao/core-bundle(Packagist) = 4.1.0 No fix listed
contao/core-bundle(Packagist) = 4.1.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.1.0-beta1 No fix listed
contao/core-bundle(Packagist) = 4.1.1 No fix listed
contao/core-bundle(Packagist) = 4.1.2 No fix listed
contao/core-bundle(Packagist) = 4.1.3 No fix listed
contao/core-bundle(Packagist) = 4.10.0 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC3 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC4 No fix listed
contao/core-bundle(Packagist) = 4.10.1 No fix listed
contao/core-bundle(Packagist) = 4.10.2 No fix listed
contao/core-bundle(Packagist) = 4.10.3 No fix listed
contao/core-bundle(Packagist) = 4.10.4 No fix listed
contao/core-bundle(Packagist) = 4.10.5 No fix listed
contao/core-bundle(Packagist) = 4.10.6 No fix listed
contao/core-bundle(Packagist) = 4.10.7 No fix listed
contao/core-bundle(Packagist) = 4.11.0 No fix listed
Show 175 more
ProductAffected versionsFixed in
contao/core-bundle(Packagist) = 4.11.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.11.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.11.1 No fix listed
contao/core-bundle(Packagist) = 4.11.2 No fix listed
contao/core-bundle(Packagist) = 4.11.3 No fix listed
contao/core-bundle(Packagist) = 4.11.4 No fix listed
contao/core-bundle(Packagist) = 4.11.5 No fix listed
contao/core-bundle(Packagist) = 4.11.6 No fix listed
contao/core-bundle(Packagist) = 4.11.7 No fix listed
contao/core-bundle(Packagist) = 4.11.8 No fix listed
contao/core-bundle(Packagist) = 4.11.9 No fix listed
contao/core-bundle(Packagist) = 4.12.0 No fix listed
contao/core-bundle(Packagist) = 4.12.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.12.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.12.0-RC3 No fix listed
contao/core-bundle(Packagist) = 4.12.1 No fix listed
contao/core-bundle(Packagist) = 4.12.2 No fix listed
contao/core-bundle(Packagist) = 4.12.3 No fix listed
contao/core-bundle(Packagist) = 4.12.4 No fix listed
contao/core-bundle(Packagist) = 4.12.5 No fix listed
contao/core-bundle(Packagist) = 4.12.6 No fix listed
contao/core-bundle(Packagist) = 4.12.7 No fix listed
contao/core-bundle(Packagist) = 4.13.0 No fix listed
contao/core-bundle(Packagist) = 4.13.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.13.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.13.0-RC3 No fix listed
contao/core-bundle(Packagist) = 4.13.1 No fix listed
contao/core-bundle(Packagist) = 4.13.10 No fix listed
contao/core-bundle(Packagist) = 4.13.11 No fix listed
contao/core-bundle(Packagist) = 4.13.12 No fix listed
contao/core-bundle(Packagist) = 4.13.13 No fix listed
contao/core-bundle(Packagist) = 4.13.14 No fix listed
contao/core-bundle(Packagist) = 4.13.15 No fix listed
contao/core-bundle(Packagist) = 4.13.16 No fix listed
contao/core-bundle(Packagist) = 4.13.17 No fix listed
contao/core-bundle(Packagist) = 4.13.18 No fix listed
contao/core-bundle(Packagist) = 4.13.19 No fix listed
contao/core-bundle(Packagist) = 4.13.2 No fix listed
contao/core-bundle(Packagist) = 4.13.20 No fix listed
contao/core-bundle(Packagist) = 4.13.21 No fix listed
contao/core-bundle(Packagist) = 4.13.22 No fix listed
contao/core-bundle(Packagist) = 4.13.23 No fix listed
contao/core-bundle(Packagist) = 4.13.24 No fix listed
contao/core-bundle(Packagist) = 4.13.25 No fix listed
contao/core-bundle(Packagist) = 4.13.26 No fix listed
contao/core-bundle(Packagist) = 4.13.27 No fix listed
contao/core-bundle(Packagist) = 4.13.28 No fix listed
contao/core-bundle(Packagist) = 4.13.29 No fix listed
contao/core-bundle(Packagist) = 4.13.3 No fix listed
contao/core-bundle(Packagist) = 4.13.30 No fix listed
contao/core-bundle(Packagist) = 4.13.31 No fix listed
contao/core-bundle(Packagist) = 4.13.32 No fix listed
contao/core-bundle(Packagist) = 4.13.33 No fix listed
contao/core-bundle(Packagist) = 4.13.34 No fix listed
contao/core-bundle(Packagist) = 4.13.35 No fix listed
contao/core-bundle(Packagist) = 4.13.36 No fix listed
contao/core-bundle(Packagist) = 4.13.37 No fix listed
contao/core-bundle(Packagist) = 4.13.38 No fix listed
contao/core-bundle(Packagist) = 4.13.39 No fix listed
contao/core-bundle(Packagist) = 4.13.4 No fix listed
contao/core-bundle(Packagist) = 4.13.40 No fix listed
contao/core-bundle(Packagist) = 4.13.41 No fix listed
contao/core-bundle(Packagist) = 4.13.42 No fix listed
contao/core-bundle(Packagist) = 4.13.43 No fix listed
contao/core-bundle(Packagist) = 4.13.44 No fix listed
contao/core-bundle(Packagist) = 4.13.45 No fix listed
contao/core-bundle(Packagist) = 4.13.46 No fix listed
contao/core-bundle(Packagist) = 4.13.47 No fix listed
contao/core-bundle(Packagist) = 4.13.48 No fix listed
contao/core-bundle(Packagist) = 4.13.49 No fix listed
contao/core-bundle(Packagist) = 4.13.5 No fix listed
contao/core-bundle(Packagist) = 4.13.50 No fix listed
contao/core-bundle(Packagist) = 4.13.51 No fix listed
contao/core-bundle(Packagist) = 4.13.52 No fix listed
contao/core-bundle(Packagist) = 4.13.53 No fix listed
contao/core-bundle(Packagist) = 4.13.54 No fix listed
contao/core-bundle(Packagist) = 4.13.55 No fix listed
contao/core-bundle(Packagist) = 4.13.56 No fix listed
contao/core-bundle(Packagist) = 4.13.6 No fix listed
contao/core-bundle(Packagist) = 4.13.7 No fix listed
contao/core-bundle(Packagist) = 4.13.8 No fix listed
contao/core-bundle(Packagist) = 4.13.9 No fix listed
contao/core-bundle(Packagist) = 4.2.0 No fix listed
contao/core-bundle(Packagist) = 4.2.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.2.0-beta1 No fix listed
contao/core-bundle(Packagist) = 4.2.1 No fix listed
contao/core-bundle(Packagist) = 4.2.2 No fix listed
contao/core-bundle(Packagist) = 4.2.3 No fix listed
contao/core-bundle(Packagist) = 4.2.4 No fix listed
contao/core-bundle(Packagist) = 4.2.5 No fix listed
contao/core-bundle(Packagist) = 4.3.0 No fix listed
contao/core-bundle(Packagist) = 4.3.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.3.1 No fix listed
contao/core-bundle(Packagist) = 4.3.10 No fix listed
contao/core-bundle(Packagist) = 4.3.11 No fix listed
contao/core-bundle(Packagist) = 4.3.2 No fix listed
contao/core-bundle(Packagist) = 4.3.3 No fix listed
contao/core-bundle(Packagist) = 4.3.4 No fix listed
contao/core-bundle(Packagist) = 4.3.5 No fix listed
contao/core-bundle(Packagist) = 4.3.6 No fix listed
contao/core-bundle(Packagist) = 4.3.7 No fix listed
contao/core-bundle(Packagist) = 4.3.8 No fix listed
contao/core-bundle(Packagist) = 4.3.9 No fix listed
contao/core-bundle(Packagist) = 4.4.0 No fix listed
contao/core-bundle(Packagist) = 4.4.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.4.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.4.0-beta1 No fix listed
contao/core-bundle(Packagist) = 4.4.1 No fix listed
contao/core-bundle(Packagist) = 4.4.10 No fix listed
contao/core-bundle(Packagist) = 4.4.11 No fix listed
contao/core-bundle(Packagist) = 4.4.12 No fix listed
contao/core-bundle(Packagist) = 4.4.13 No fix listed
contao/core-bundle(Packagist) = 4.4.14 No fix listed
contao/core-bundle(Packagist) = 4.4.15 No fix listed
contao/core-bundle(Packagist) = 4.4.16 No fix listed
contao/core-bundle(Packagist) = 4.4.17 No fix listed
contao/core-bundle(Packagist) = 4.4.18 No fix listed
contao/core-bundle(Packagist) = 4.4.19 No fix listed
contao/core-bundle(Packagist) = 4.4.2 No fix listed
contao/core-bundle(Packagist) = 4.4.20 No fix listed
contao/core-bundle(Packagist) = 4.4.21 No fix listed
contao/core-bundle(Packagist) = 4.4.22 No fix listed
contao/core-bundle(Packagist) = 4.4.23 No fix listed
contao/core-bundle(Packagist) = 4.4.24 No fix listed
contao/core-bundle(Packagist) = 4.4.25 No fix listed
contao/core-bundle(Packagist) = 4.4.26 No fix listed
contao/core-bundle(Packagist) = 4.4.27 No fix listed
contao/core-bundle(Packagist) = 4.4.28 No fix listed
contao/core-bundle(Packagist) = 4.4.29 No fix listed
contao/core-bundle(Packagist) = 4.4.3 No fix listed
contao/core-bundle(Packagist) = 4.4.30 No fix listed
contao/core-bundle(Packagist) = 4.4.31 No fix listed
contao/core-bundle(Packagist) = 4.4.32 No fix listed
contao/core-bundle(Packagist) = 4.4.33 No fix listed
contao/core-bundle(Packagist) = 4.4.34 No fix listed
contao/core-bundle(Packagist) = 4.4.35 No fix listed
contao/core-bundle(Packagist) = 4.4.36 No fix listed
contao/core-bundle(Packagist) = 4.4.37 No fix listed
contao/core-bundle(Packagist) = 4.4.38 No fix listed
contao/core-bundle(Packagist) = 4.4.39 No fix listed
contao/core-bundle(Packagist) = 4.4.4 No fix listed
contao/core-bundle(Packagist) = 4.4.40 No fix listed
contao/core-bundle(Packagist) = 4.4.41 No fix listed
contao/core-bundle(Packagist) = 4.4.42 No fix listed
contao/core-bundle(Packagist) = 4.4.43 No fix listed
contao/core-bundle(Packagist) = 4.4.44 No fix listed
contao/core-bundle(Packagist) = 4.4.45 No fix listed
contao/core-bundle(Packagist) = 4.4.46 No fix listed
contao/core-bundle(Packagist) = 4.4.47 No fix listed
contao/core-bundle(Packagist) = 4.4.48 No fix listed
contao/core-bundle(Packagist) = 4.4.49 No fix listed
contao/core-bundle(Packagist) = 4.4.5 No fix listed
contao/core-bundle(Packagist) = 4.4.50 No fix listed
contao/core-bundle(Packagist) = 4.4.51 No fix listed
contao/core-bundle(Packagist) = 4.4.52 No fix listed
contao/core-bundle(Packagist) = 4.4.53 No fix listed
contao/core-bundle(Packagist) = 4.4.54 No fix listed
contao/core-bundle(Packagist) = 4.4.55 No fix listed
contao/core-bundle(Packagist) = 4.4.56 No fix listed
contao/core-bundle(Packagist) = 4.4.57 No fix listed
contao/core-bundle(Packagist) = 4.4.6 No fix listed
contao/core-bundle(Packagist) = 4.4.7 No fix listed
contao/core-bundle(Packagist) = 4.4.8 No fix listed
contao/core-bundle(Packagist) = 4.4.9 No fix listed
contao/core-bundle(Packagist) = 4.5.0 No fix listed
contao/core-bundle(Packagist) = 4.5.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.5.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.5.0-beta1 No fix listed
contao/core-bundle(Packagist) = 4.5.0-beta2 No fix listed
contao/core-bundle(Packagist) = 4.5.0-beta3 No fix listed
contao/core-bundle(Packagist) = 4.5.1 No fix listed
contao/core-bundle(Packagist) = 4.5.10 No fix listed
contao/core-bundle(Packagist) = 4.5.11 No fix listed
contao/core-bundle(Packagist) = 4.5.12 No fix listed
contao/core-bundle(Packagist) = 4.5.13 No fix listed

References