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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-98vj-mm79-v77r Contao is vulnerable to remote code execution in template closures
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 04 Dec 2025 03:00:00 +0900

Type Values Removed Values Added
CPEs cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*

Fri, 28 Nov 2025 01:30:00 +0900

Type Values Removed Values Added
First Time appeared Contao
Contao contao
Vendors & Products Contao
Contao contao

Wed, 26 Nov 2025 05:15:00 +0900

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 26 Nov 2025 04:00:00 +0900

Type Values Removed Values Added
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.
Title Contao is vulnerable to remote code execution in template closures
Weaknesses CWE-351
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-25T20:00:14.687Z

Reserved: 2025-11-18T16:14:56.694Z

Link: CVE-2025-65960

cve-icon Vulnrichment

Updated: 2025-11-25T20:00:06.559Z

cve-icon NVD

Status : Analyzed

Published: 2025-11-25T19:15:51.203

Modified: 2025-12-03T17:55:34.283

Link: CVE-2025-65960

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-11-28T01:26:05Z

Weaknesses