CVE-2025-65960
PHP vulnerability analysis and mitigation

Overview

Contao, an Open Source CMS, was found to contain a remote code execution vulnerability (CVE-2025-65960) affecting versions 4.0.0 to before 4.13.57, before 5.3.42, and before 5.6.5. The vulnerability allows back end users with precise control over template closures to execute arbitrary PHP functions that do not have required parameters (Contao Advisory, GitHub Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 6.6 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-351 (Insufficient Type Distinction), indicating that the product does not properly distinguish between different types of elements, leading to insecure behavior. The issue specifically involves the Contao\Template::once() method (GitHub Advisory).

Impact

The vulnerability allows authenticated back end users to execute arbitrary PHP functions that do not have required parameters, potentially leading to remote code execution. The CVSS scoring indicates high potential impact on confidentiality, integrity, and availability of the affected system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Contao versions 4.13.57, 5.3.42, and 5.6.5. Users are advised to upgrade to these versions. As a workaround, administrators can manually patch the Contao\Template::once() method if immediate upgrading is not possible (Contao Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65960MEDIUM6.6
  • PHPPHP
  • contao/core-bundle
NoYesNov 25, 2025
CVE-2025-65956MEDIUM6.5
  • PHPPHP
  • getformwork/formwork
NoYesNov 26, 2025
CVE-2025-66026MEDIUM6.1
  • PHPPHP
  • redaxo/source
NoYesNov 26, 2025
CVE-2025-64027MEDIUM6.1
  • PHPPHP
  • snipe-it
NoNoNov 20, 2025
CVE-2025-65961LOW3.3
  • PHPPHP
  • contao/core-bundle
NoYesNov 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management