Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. contao/core-bundle
  4. ›
  5. CVE-2025-65960

CVE-2025-65960: Contao is vulnerable to remote code execution in template closures

November 25, 2025 (updated November 27, 2025)

Backend users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters.

References

  • contao.org/en/security-advisories/remote-code-execution-in-template-closures
  • github.com/advisories/GHSA-98vj-mm79-v77r
  • github.com/contao/contao
  • github.com/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1
  • github.com/contao/contao/commit/676f0855d39007ac9a0dbe7ae6a7414cba2312a5
  • github.com/contao/contao/commit/ebf84c90e5679a67060f396b924ce4a3c3f206b3
  • github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r
  • nvd.nist.gov/vuln/detail/CVE-2025-65960

Code Behaviors & Features

Detect and mitigate CVE-2025-65960 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 before 4.13.57, all versions starting from 5.0.0-RC1 before 5.3.42, all versions starting from 5.4.0-RC1 before 5.6.5

Fixed versions

  • 4.13.57
  • 5.3.42
  • 5.6.5

Solution

Upgrade to versions 4.13.57, 5.3.42, 5.6.5 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-351: Insufficient Type Distinction

Source file

packagist/contao/core-bundle/CVE-2025-65960.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 05 Dec 2025 12:19:23 +0000.