Cyber Resilience

CVE-2025-65960

Contao 4.0.0 – 4.13.57

Published
25 November 2025
Modified
03 December 2025
Patch / advisory
CVSS Score v3.1 6.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0018 7th percentile
Risk Priority 47 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-65960 is a medium-severity Insufficient Type Distinction (CWE-351) vulnerability in Contao Contao. Its CVSS base score is 6.6 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-16 (Security and Privacy Attributes) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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.…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-45612Same product: Contao Contao
CVE-2024-28234Same product: Contao Contao
CVE-2024-28191Same product: Contao Contao
CVE-2025-57759Same product: Contao Contao
CVE-2025-57758Same product: Contao Contao
CVE-2023-29200Same product: Contao Contao
CVE-2025-29790Same product: Contao Contao
CVE-2024-30262Same product: Contao Contao
CVE-2025-57756Same product: Contao Contao
CVE-2024-45604Same product: Contao Contao

Affected Assets

contao
contao
4.0.0 — 4.13.57 · 5.0.0 — 5.3.42 · 5.4.0 — 5.6.5

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.5.3

Mitigating Controls (NIST 800-53 r5) AI

Input validation can reject or correctly classify data whose type is ambiguous or incorrect, stopping the weakness at entry points.

Associating security and privacy attributes with objects supplies the mechanism needed to distinguish element types and enforce handling rules.

Information flow enforcement requires explicit rules that distinguish information types or categories before permitting transfer.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent type-distinction flaws during development while the control addresses the full lifecycle.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect type confusion vulnerabilities before deployment.

prevents

Secure development lifecycle practices can include type-safe design and validation to reduce type confusion.

prevents

Application security requirements can mandate explicit type handling and validation rules.

prevents

Secure architecture principles encourage strong typing and clear type boundaries in system design.

prevents

Secure coding standards directly address proper type distinction and validation to prevent type-related flaws.

References