CVE-2025-65960
Contao is vulnerable to remote code execution in template closures
6.6
MEDIUM
CVSS 3.1
EPSS 0.02%
Description
### Impact Backend users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters. ### Patches Update to Contao 4.13.57, 5.3.42 or 5.6.5 ### Workarounds Manually patch the `Contao\Template::once()` method. ### Resources https://contao.org/en/security-advisories/remote-code-execution-in-template-closures
How to fix CVE-2025-65960
To remediate CVE-2025-65960, upgrade the affected package to a fixed version below.
- —upgrade to 4.13.57 or later
Is CVE-2025-65960 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 4.0.0, < 4.13.57
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |