CVE-2025-65960
MEDIUM6.6EPSS 0.02%Contao is vulnerable to remote code execution in template closures
發布日:2025/11/25修改日:2025/11/27
描述
### 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
受影響套件(1)
- Packagist/contao/core-bundle>= 4.0.0, < 4.13.57
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-65960
- PATCHhttps://github.com/contao/contao
- WEBhttps://contao.org/en/security-advisories/remote-code-execution-in-template-closures
- WEBhttps://github.com/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1
- WEBhttps://github.com/contao/contao/commit/676f0855d39007ac9a0dbe7ae6a7414cba2312a5
- WEBhttps://github.com/contao/contao/commit/ebf84c90e5679a67060f396b924ce4a3c3f206b3
- WEBhttps://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r