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

References

CVSS V4

Score:
9.5
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

LHeiakim
Daniel Birtwhistle
.