CVE-2025-65960Contao
Medium 6.6
Follow: this CVE · Contao · Contao We alert you by email or Slack (account required).
- Priority
- 40
- CVSS 3.1
- 6.6
- EPSS
- —
- Auth required
- Yes
- Published
- Nov 25, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-351
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Contao.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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" |
Per OSV / GitHub Advisories (GHSA-98vj-mm79-v77r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| contao | contao | ≥ 4.0.0 < 4.13.57 |
| contao | contao | ≥ 5.0.0 < 5.3.42 |
| contao | contao | ≥ 5.4.0 < 5.6.5 |
Official sources
References
Links published by the sources. Open them with care.
- contao.org Vendor Advisory
- github.com Vendor Advisory