CVE-2026-136410thymeleaf Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 9.5 (CRITICAL)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)High
Integrity (Subsequent System)High
Availability (Subsequent System)High
Show CVSS v3.x metrics (score 9.0)
CVSS v3.1 Base Metrics — Score 9.0 (CRITICAL)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- thymeleaf < 3.1.6.RELEASE
- thymeleaf-spring5 < 3.1.6.RELEASE
- thymeleaf-spring6 < 3.1.6.RELEASE
- thymeleaf 3.1.6.RELEASE
- thymeleaf-spring5 3.1.6.RELEASE
- thymeleaf-spring6 3.1.6.RELEASE
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run thymeleaf and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new thymeleaf CVEsYou are reading CVE-2026-136410. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-2wmw-5fmc-m25v
- Referencehttps://github.com/thymeleaf/thymeleaf/releases/tag/thymeleaf-3.1.6.RELEASE
- Referencehttps://www.vulncheck.com/advisories/thymeleaf-before-3.1.6-release-restricted-expression-mode-bypass-via-expression-objects
Data last checked: Nov 24, 2026 19:14 UTC