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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://contao.org/en/security-advisories/remote-code-execution-in-template-closures Vendor Advisory
- https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.6 · contaoNVD modified 2026-10-18 20:10
Affected (CPE criteria) 1
cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*