SummaryAI-written · claude-haiku-5-5AI-written · claude-haiku-5-5Written by a language model from the source data on this page. Not reviewed by a person. Generated 21 Nov 2026.
Thymeleaf, the server-side Java template engine for web and standalone environments, contains a flaw in its expression execution mechanisms in versions 3.1.3.RELEASE and earlier, where specific syntax patterns are not properly neutralized, allowing unauthorized expressions to run. An unauthenticated remote attacker can exploit this when an application passes unvalidated user input directly to the template engine, bypassing the library's protections to achieve server-side template injection, with no user interaction required and a high-complexity attack.
Official description · CVE.orgSource dataSource dataCopied from an authoritative feed: NVD, CVE.org, CISA KEV, FIRST EPSS or MITRE CTID mappings, or labelled by the annotators of a published dataset. Copied from CVE.org.
Thymeleaf is a server-side Java template engine for web and standalone environments. Versions 3.1.3.RELEASE and prior contain a security bypass vulnerability in the the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly neutralize specific syntax patterns that allow for the execution of unauthorized expressions. If an application developer passes unvalidated user input directly to the template engine, an unauthenticated remote attacker can bypass the library's protections to achieve Server-Side Template Injection (SSTI). This issue has ben fixed in version 3.1.4.RELEASE.
Priority scorePatchfirst’s 0 to 100 ranking. It adds points for CISA KEV listing, ransomware use, EPSS, threat reports, public exploit code and CVSS. Every CVE page shows the breakdown.Breakdown
66.1 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
3 fixes in thymeleaf over 4 weeks. The latest fix listed for thymeleaf is 3.1.5.RELEASE.
Fixes in thymeleafMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.
as published in the CVE recordSourceSource dataCopied from an authoritative feed: NVD, CVE.org, CISA KEV, FIRST EPSS or MITRE CTID mappings, or labelled by the annotators of a published dataset. CVE.org record, written by the CVE Numbering Authority (CNA).
thymeleaf thymeleaf
Affected:< 3.1.4.RELEASE
thymeleaf org.thymeleaf:thymeleaf-spring5
Affected:< 3.1.4.RELEASE
thymeleaf org.thymeleaf:thymeleaf-spring6
Affected:< 3.1.4.RELEASE
Am I affected? What do I upgrade to?
From GitHub Security Advisories and OSVSourceSource dataCopied from an authoritative feed: NVD, CVE.org, CISA KEV, FIRST EPSS or MITRE CTID mappings, or labelled by the annotators of a published dataset. GitHub Security Advisories and OSV.
3 packages in 1 ecosystem. Main package: org.thymeleaf:thymeleaf.