GHSA-98VJ-MM79-V77R
Vulnerability from github – Published: 2025-11-25 20:43 – Updated: 2025-11-27 08:59
VLAI
Summary
Contao is vulnerable to remote code execution in template closures
Details
Impact
Backend users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters.
Patches
Update to Contao 4.13.57, 5.3.42 or 5.6.5
Workarounds
Manually patch the Contao\Template::once() method.
Resources
https://contao.org/en/security-advisories/remote-code-execution-in-template-closures
Severity
6.6 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "contao/core-bundle"
},
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.13.57"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "contao/core-bundle"
},
"ranges": [
{
"events": [
{
"introduced": "5.0.0-RC1"
},
{
"fixed": "5.3.42"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "contao/core-bundle"
},
"ranges": [
{
"events": [
{
"introduced": "5.4.0-RC1"
},
{
"fixed": "5.6.5"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-65960"
],
"database_specific": {
"cwe_ids": [
"CWE-351"
],
"github_reviewed": true,
"github_reviewed_at": "2025-11-25T20:43:13Z",
"nvd_published_at": "2025-11-25T19:15:51Z",
"severity": "MODERATE"
},
"details": "### Impact\n\nBackend users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters.\n\n### Patches\n\nUpdate to Contao 4.13.57, 5.3.42 or 5.6.5\n\n### Workarounds\n\nManually patch the `Contao\\Template::once()` method.\n\n### Resources\n\nhttps://contao.org/en/security-advisories/remote-code-execution-in-template-closures",
"id": "GHSA-98vj-mm79-v77r",
"modified": "2025-11-27T08:59:22Z",
"published": "2025-11-25T20:43:13Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-65960"
},
{
"type": "WEB",
"url": "https://github.com/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1"
},
{
"type": "WEB",
"url": "https://github.com/contao/contao/commit/676f0855d39007ac9a0dbe7ae6a7414cba2312a5"
},
{
"type": "WEB",
"url": "https://github.com/contao/contao/commit/ebf84c90e5679a67060f396b924ce4a3c3f206b3"
},
{
"type": "WEB",
"url": "https://contao.org/en/security-advisories/remote-code-execution-in-template-closures"
},
{
"type": "PACKAGE",
"url": "https://github.com/contao/contao"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Contao is vulnerable to remote code execution in template closures"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…