Skip to main content
← All vulnerabilities
CVE-2025-65960GHSA-98VJ-MM79-V77R

Contao is vulnerable to remote code execution in template closures

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.13.57, 5.3.42, 5.6.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • contao contao

    From 4.0.0 · fixed in 4.13.57; From 5.0.0-RC1 · fixed in 5.3.42; From 5.4.0-RC1 · fixed in 5.6.5

  • contao/core-bundlePackagist

    From 4.0.0 · fixed in 4.13.57

  • contao/core-bundlePackagist

    From 5.0.0-RC1 · fixed in 5.3.42

  • contao/core-bundlePackagist

    From 5.4.0-RC1 · fixed in 5.6.5

References 2

GitHub · contao/contao

contao.org