# CVE-2025-65960: core-bundle — Fixed in 4.13.57

🐘

🐘 Packagist

Not in CISA KEV

MEDIUM severity

# CVE-2025-65960 — core-bundle

MEDIUM [Fix: contao/contao@577d7fd](https://github.com/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1)

CVE-2025-65960 is a medium-severity (CVSS 6.6) CWE-351 vulnerability in contao/core-bundle. A fix is available for contao/core-bundle — see the affected versions and patch details below.

Contao is vulnerable to remote code execution in template closures

Also known as[GHSA-98vj-mm79-v77r](/vulnerability/GHSA-98vj-mm79-v77r)

Published

Nov 25, 2025

Updated

Oct 28, 2026

Affected

3 pkgs

Patched

3 / 3

Exploits

None indexed

Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

## Exploitation Status

### No confirmed exploitation observed yet

-   A successful exploit gives an attacker total control of the affected component, not partial access.
-   CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-65960.

## EPSS Exploitation Probability

[via FIRST.org ↗](https://www.first.org/epss/)

0.2%probability of exploitation in next 30 days

Lower Risk0.00%

Lower risk than most CVEs9th percentile — riskier than 9% of all scored CVEsHighest risk

0.00%0.23%0.46%0.69%0.0%0.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from [FIRST.org EPSS](https://www.first.org/epss/).

## How urgent is this, really

## Where this sits among everything scored

## Real-World Exposure

3 pkgs affected

🐘`contao/core-bundle`🐘`contao/core-bundle`🐘`contao/core-bundle`

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

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

## Affected Packages

3 total 3 fixed

Ecosystem

Package

Vulnerable range

Fix

🐘Packagist

`contao/core-bundle` 

≥ 4.0.0&&< 4.13.57

4.13.57`composer require contao/core-bundle:^4.13.57`

🐘Packagist

`contao/core-bundle` 

≥ 5.0.0-RC1&&< 5.3.42

5.3.42`composer require contao/core-bundle:^5.3.42`

🐘Packagist

`contao/core-bundle` 

≥ 5.4.0-RC1&&< 5.6.5

5.6.5`composer require contao/core-bundle:^5.6.5`

## Affected Products

1 product · 3 configurations

Application

`contao`contao

≥ 5.4.0 && < 5.6.5

range

## Detection & mitigation playbook

Open-source dependency

1.  ### Detect
    
    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for contao/core-bundle, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
    
2.  ### Fix
    
    Update contao/core-bundle to 4.13.57 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-65960 is resolved across your whole dependency graph.
    
3.  ### Workarounds
    
    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
    

## Frequently Asked Questions

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.

O3 Security · Impact-Aware SCA

### Is CVE-2025-65960 in your dependencies?

Find it across Packagist, including transitive dependencies.

[Scan my dependencies](/book-demo) [How O3 SCA works](/impact-aware-sca)