CVE 6.6 MEDIUM

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

6.6 / 10
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2025-65960
Source GitHub_M
Published Nov 25, 2025 at 18:54
Modified Nov 25, 2025 at 20:00

Affected Product

Vendor contao
Product contao
Version >= 4.0.0, < 4.13.57
Affected Versions contao contao >= 4.0.0, < 4.13.57
contao contao >= 5.0.0-RC1, < 5.3.42
contao contao >= 5.4.0-RC1, < 5.6.5

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.