VYPR
Moderate severityNVD Advisory· Published Nov 25, 2025· Updated Nov 25, 2025

Contao is vulnerable to remote code execution in template closures

CVE-2025-65960

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
contao/core-bundlePackagist
>= 4.0.0, < 4.13.574.13.57
contao/core-bundlePackagist
>= 5.0.0-RC1, < 5.3.425.3.42
contao/core-bundlePackagist
>= 5.4.0-RC1, < 5.6.55.6.5

Affected products

2

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.