CVE-2026-136410
Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects
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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.thymeleaf » thymeleaf | < 3.1.6.RELEASE | 3.1.6.RELEASE |
| org.thymeleaf » thymeleaf-spring5 | < 3.1.6.RELEASE | 3.1.6.RELEASE |
| org.thymeleaf » thymeleaf-spring6 | < 3.1.6.RELEASE | 3.1.6.RELEASE |
Blast radius
100% of the dependent artifacts (4,056) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 19,773 |
| 2 hops | 40,232 |
| 3 hops | 48,084 |
| 4 hops | 34,055 |
| 5 hops | 13,272 |
| 6 hops | 6,738 |
Most used dependents
- org.springframework.boot » spring-boot-starter-thymeleaf1,165 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-web212 usages
- org.apereo.cas » cas-server-core-tickets182 usages
- org.apereo.cas » cas-server-core-services-authentication155 usages
- org.apereo.cas » cas-server-core-webflow153 usages
- org.apereo.cas » cas-server-core-webflow-api150 usages
- org.thymeleaf » thymeleaf-spring4147 usages
- org.thymeleaf » thymeleaf-spring5138 usages
- nz.net.ultraq.thymeleaf » thymeleaf-layout-dialect137 usages
- org.apereo.cas » cas-server-core135 usages
- org.apereo.cas » cas-server-core-tickets-api134 usages
- org.apereo.cas » cas-server-core-logout126 usages
- org.kie.kogito » kogito-quarkus124 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
