CVE-2025-65960 Details
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.
A remote code execution vulnerability has been identified in Contao versions 4.0.0 prior to 4.13.57, 5.3.42 prior to 5.6.5, and 5.6.4. Back end users with specific control over template closure contents can execute arbitrary PHP functions that lack required parameters. This vulnerability has been patched in Contao versions 4.13.57, 5.3.42, and 5.6.5.
Users can upgrade to Contao versions 4.13.57, 5.3.42, or 5.6.5 to address this vulnerability. Alternatively, the issue can be temporarily mitigated by manually patching the 'Contao\Template::once()' method.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://contao.org/en/security-advisories/remote-code-execution-in-template-closures | [email protected] | Vendor Advisory |
| https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-351 | Insufficient Type Distinction | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| contao contao | >= 4.0.0, < 4.13.57 >= 5.0.0, < 5.3.42 >= 5.4.0, < 5.6.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 3, 2025 | Initial Analysis | [email protected] |
| Nov 25, 2025 | New CVE Received | [email protected] |