CVE-2025-65960 MEDIUM

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

Vendor Contao
Product contao
Weakness CWE-351
Published November 25, 2025
Last update November 25, 2025

CVSS base score

6.6/10
Attack vector Network
Attack complexity High
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 25, 2025 CVE published
November 25, 2025 Record updated