Security mailing lists by PureSourceCode

CVE-2025-65960

MEDIUM 6.6CVSS 3.1

Contao is vulnerable to remote code execution in template closures

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
25 Nov 2025
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-351
Also known as
GHSA-98vj-mm79-v77r
Sources
NVDJSONOSV GHSA-98vj-mm79-v77rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD contao contao
cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.13.57 4.13.57
NVD contao contao
cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.3.42 5.3.42
NVD contao contao
cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*
>= 5.4.0, < 5.6.5 5.6.5
OSV Packagist contao/core-bundle >= 4.0.0, < 4.13.57 4.13.57
OSV Packagist contao/core-bundle >= 5.0.0-RC1, < 5.3.42 5.3.42
OSV Packagist contao/core-bundle >= 5.4.0-RC1, < 5.6.5 5.6.5

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 25 Nov 2025)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.