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 Java server-side template engine, has an improper restriction of accessible objects in its expression execution mechanisms, affecting versions 3.1.3.RELEASE and prior. The flaw lets specific potentially sensitive objects be reached from within a template, despite the library's expression-injection protections. An unauthenticated remote attacker can exploit it to achieve Server-Side Template Injection when the application passes unvalidated user input directly to the template engine, with the attack complexity rated high.
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 expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly restrict the scope of accessible objects, allowing specific potentially sensitive objects to be reached from within a template. 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
69.4 / 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.
First seen exploited 6 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 5 months after disclosure.
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.