Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects
- State
- Published
- Severity
- 9.5 Critical
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 24, 2026
Description
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.
| Product | Versions |
|---|---|
| thymeleaf thymeleaf | before 3.1.6.RELEASE Affected |
| thymeleaf-spring5 thymeleaf | before 3.1.6.RELEASE Affected |
| thymeleaf-spring6 thymeleaf | before 3.1.6.RELEASE Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.5 Critical | VulnCheck | |
| 3.1 | 9.0 Critical | VulnCheck |
Weaknesses
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.