Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-65960: Contao is an Open Source CMS

25
Routine
MEDIUM 6.6UPGRADE

CVE-2025-65960 is a medium-severity flaw (CVSS 6.6) affecting contao. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.6 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededHigh
User interactionNone
EPSS exploit chance0.2% (top 91%)
CISA exploited listNo
WeaknessCWE-351
Published2025-11-25
Last modified2026-10-18
Publisher (CNA): GitHub, Inc. · Vendor: contao

Share: LinkedIn · X · Reddit

Last updated 2026-10-18 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

contao contao UPGRADE
Affected: >= 4.0.0 and < 4.13.57 · >= 5.0.0 and < 5.3.42 · >= 5.4.0 and < 5.6.5
Fixed in: 4.13.57, 5.3.42, 5.6.5
Safe to downgrade to: a release before 4.0.0
1. Check installed version
apt-cache policy contao || rpm -q contao || contao --version
2. UPGRADE to 4.13.57 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade contao
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade contao
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.0.0 (Debian / Ubuntu)
apt-cache madison contao sudo apt install contao=<VERSION_BEFORE_4.0.0> sudo apt-mark hold contao
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list contao sudo dnf downgrade contao-<VERSION_BEFORE_4.0.0> sudo dnf versionlock add contao
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-65960?

contao: upgrade to 4.13.57, 5.3.42, 5.6.5. Exact commands for each OS are on this page.

Is CVE-2025-65960 being exploited?

CVE-2025-65960 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-65960 affect?

CVE-2025-65960 affects contao. Severity is medium (CVSS 6.6). 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 pa

How urgent is CVE-2025-65960?

Priority 25/100. No elevated risk signals yet.

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.