The user controlled twig templates rendering in Pimcore/Mail & ClassDefinition\Layout\Text is vulnerable to server-side template Injection RCE.
Pimcore/Mail
ClassDefinition\Layout\Text
Update to version 10.5.9 or apply this patch manually https://github.com/pimcore/pimcore/pull/13347.patch
Apply https://github.com/pimcore/pimcore/pull/13347.patch manually.
Credits: @nth347 from Viettel Cyber Security
Impact
The user controlled twig templates rendering in
Pimcore/Mail&ClassDefinition\Layout\Textis vulnerable to server-side template Injection RCE.Patches
Update to version 10.5.9 or apply this patch manually https://github.com/pimcore/pimcore/pull/13347.patch
Workarounds
Apply https://github.com/pimcore/pimcore/pull/13347.patch manually.
References
Credits: @nth347 from Viettel Cyber Security