Vulnerability in Contao
CVE-2025-65960
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (6.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 7th percentile — 6.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Contao — versions >= 4.0.0, < 4.13.57, >= 5.0.0-RC1, < 5.3.42, >= 5.4.0-RC1, < 5.6.5
Weakness classification (CWE)
References
- github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r (Vendor Advisory)
- contao.org/en/security-advisories/remote-code-execution-in-template-closures (Vendor Advisory)
Frequently asked questions
- What is CVE-2025-65960?
- CVE-2025-65960 is a medium-severity vulnerability in Contao, classified under CWE-351. CVSS score: 6.6/10. Published 2025-11-25.
- How severe is CVE-2025-65960?
- Medium severity. CVSS v3 base score is 6.6 out of 10.