Home / contao / contao / CVE-2025-65960
CVE-2025-65960: is it exploited, and which versions of contao are affected and fixed?
CVE-2025-65960 is an insufficient Type Distinction vulnerability in contao. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: contao/core-bundle from 4.0.0 before 4.13.57, contao/core-bundle from 5.0.0-RC1 before 5.3.42 and contao/core-bundle from 5.4.0-RC1 before 5.6.5 (GitHub advisory GHSA-98vj-mm79-v77r). Fixed in 4.13.57, 5.3.42 and 5.6.5 (GitHub advisory GHSA-98vj-mm79-v77r). Severity: Medium (6.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-65960?
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.
From the CVE record by GitHub_M, last updated November 25, 2025, 20:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| contao | contao | >= 4.0.0, < 4.13.57 >= 5.0.0-RC1, < 5.3.42 >= 5.4.0-RC1, < 5.6.5 |
As the CVE record by GitHub_M states it, last updated November 25, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | contao/core-bundle | >= 4.0.0, < 4.13.57 | 4.13.57 | GHSA-98vj-mm79-v77r |
| Packagist | contao/core-bundle | >= 5.0.0-RC1, < 5.3.42 | 5.3.42 | GHSA-98vj-mm79-v77r |
| Packagist | contao/core-bundle | >= 5.4.0-RC1, < 5.6.5 | 5.6.5 | GHSA-98vj-mm79-v77r |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 27, 2025. Summary: Contao is vulnerable to remote code execution in template closures.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| contao | contao | from 4.0.0 before 4.13.57 | application |
| contao | contao | from 5.0.0 before 5.3.42 | application |
| contao | contao | from 5.4.0 before 5.6.5 | application |
NVD analysis (status Analyzed), last modified October 18, 2026, 20:10 UTC.
How severe is CVE-2025-65960?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-65960 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 25, 2025)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-351 Insufficient Type Distinction
Where are the vendor advisories and references?
- https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r x_refsource_CONFIRM
- https://contao.org/en/security-advisories/remote-code-execution-in-template-closures x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 18, 2025
- Published
- November 25, 2025, 18:54 UTC
- CVE record updated
- November 25, 2025, 20:00 UTC by GitHub_M
- NVD
- Analyzed, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect contao?
- Nov 13, 2026CVE-2026-128335 Contao: session does not expire
- Nov 11, 2026CVE-2026-126663 Contao: incorrect Behavior Order: Validate Before Canonicalize
- Nov 11, 2026CVE-2026-126662 Contao: missing authorization
- Oct 9, 2026CVE-2026-107851 contao: use of Cache Containing Sensitive Information
- Oct 9, 2026CVE-2026-107850 contao: authorization bypass through a user-controlled key (IDOR)
- Oct 9, 2026CVE-2026-107848 contao: cross-site request forgery (CSRF)
- Oct 9, 2026CVE-2026-107845 contao: cross-site scripting (XSS)
- Oct 9, 2026CVE-2026-107844 contao: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2025-65960
Is CVE-2025-65960 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of contao are affected by CVE-2025-65960?
contao/core-bundle from 4.0.0 before 4.13.57, contao/core-bundle from 5.0.0-RC1 before 5.3.42 and contao/core-bundle from 5.4.0-RC1 before 5.6.5, per the GitHub advisory GHSA-98vj-mm79-v77r. The tables above give every range the sources list.
Which version fixes CVE-2025-65960?
4.13.57, 5.3.42 and 5.6.5, per the GitHub advisory GHSA-98vj-mm79-v77r. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-65960?
Medium (6.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-65960?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.