CVE-2025-65960

Medium

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.

SeverityMedium
CVSS6.6
Exploit probability—
ProductContao
PublishedNov 25, 2025
First seenNov 25, 2025
Weakness typeCWE-351CWE-351

How to fix

Update
  • contao contao4.13.57, 5.3.42, 5.6.5 or later
  • contao/core-bundle4.13.57, 5.3.42, 5.6.5 or later

Affected products

ProductAffected versionsFixed in
contao contao4.0.0 ≤ v < 4.13.57, 5.0.0 ≤ v < 5.3.42, 5.4.0 ≤ v < 5.6.54.13.57, 5.3.42, 5.6.5
contao/core-bundlePackagist4.0.0 ≤ v < 4.13.57, 5.0.0-RC1 ≤ v < 5.3.42, 5.4.0-RC1 ≤ v < 5.6.54.13.57, 5.3.42, 5.6.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.