CVE-2026-136410: Vulnerability in Thymeleaf
Critical. 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.
CWE-917
- Exploitation
- None confirmed
- Severity
- 9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-xh7h-9cr4-vfvf
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-917
- Published
- 24 Nov 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- Thymeleaf Before 3.1.6.RELEASE. Fixed in 3.1.6.RELEASE
- Thymeleaf-spring5 Before 3.1.6.RELEASE. Fixed in 3.1.6.RELEASE
- Thymeleaf-spring6 Before 3.1.6.RELEASE. Fixed in 3.1.6.RELEASE
Advisories
Vendor and security advisories
- github.com/thymeleaf/thymeleaf/security/advisories/GHSA-2wmw-5fmc-m25v
- vulncheck.com/advisories/thymeleaf-before-3.1.6-release-restricted-expression-mode-bypa...
Patches and fixes
Updates, commits and release notes
Related
- Thymeleaf vulnerabilities Recent advisories, watch this product