Thymeleaf before 3.1.6.RELEASE contains a restricted expression mode bypass vulnerability that allows unauthenticated remote attackers to perform forbidden actions through improperly scoped expression objects. Attackers can inject input into restricted contexts like preprocessing, th:utext, th:on* handlers, fragment names, or TEXT templates to escalate server-side template injection.
https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-2wmw-5fmc-m25v
https://github.com/thymeleaf/thymeleaf/releases/tag/thymeleaf-3.1.6.RELEASE