Restricted Expression Mode Bypass Vulnerability in Thymeleaf by Thymeleaf Team
CVE-2026-136410
9.5CRITICAL
Key Information:
- Vendor
Thymeleaf
- Vendor
- CVE Published:
- 24 November 2026
What is CVE-2026-136410?
A significant vulnerability in Thymeleaf prior to version 3.1.6.RELEASE allows unauthenticated attackers to bypass restricted expression modes. This loophole enables malicious users to execute forbidden actions by injecting malicious input into contexts that should normally be protected, such as preprocessing, th:utext, th:on* handlers, fragment names, or TEXT templates. The result is a heightened risk of server-side template injection attacks, potentially compromising the integrity and security of the web application.
Affected Version(s)
thymeleaf 0 < 3.1.6.RELEASE
thymeleaf-spring5 0 < 3.1.6.RELEASE
thymeleaf-spring6 0 < 3.1.6.RELEASE
