Description
Pimcore is an open source data and experience management platform. Prior to version 10.5.9, the user controlled twig templates rendering in `Pimcore/Mail` & `ClassDefinition\Layout\Text` is vulnerable to server-side template injection, which could lead to remote code execution. Version 10.5.9 contains a patch for this issue. As a workaround, one may apply the patch manually.
References
https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m
https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372
https://github.com/pimcore/pimcore/pull/13347
https://github.com/pimcore/pimcore/pull/13347.patch