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.
The Thymeleaf server-side Java template engine contains a flaw in its expression execution mechanisms, where specific constructs are not properly neutralized in sandboxed (restricted) contexts, allowing expressions meant to be blocked to run. An attacker who can supply unsanitized expression content that the application passes to the template engine, and whose values are rendered inside a sandboxed context of a template, can achieve server-side template injection, with a high attack complexity and no privileges or user interaction required.
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. Prior to 3.1.5.RELEASE, a security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf. Although the library provides mechanisms to avoid the execution of potentially dangerous expressions in some specific sandboxed (restricted) contexts, it fails to properly neutralize specific constructs that allow this kind of expressions to be executed. If an application developer passes to the template engine unsanitized variables that contain such expressions, and these values are used in sandboxed contexts inside the templates, these expressions can be executed achieving Server-Side Template Injection (SSTI). This vulnerability is fixed in 3.1.5.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
65.8 / 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 5 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 11 days after disclosure.
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.
3.1.5.RELEASECVE-2026-4190112 May 2026Latest listed
Affected versions and fixes
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.5.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.