Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-41901 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine[email protected]
CWE-917Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')[email protected]

Affected Products

ProductVersions
Thymeleaf
<= 3.1.4.RELEASE

CPE

  • cpe:2.3:a:thymeleaf:thymeleaf:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 3.1.5.RELEASEmoderate effort
  • Workaround:low effort

    Ensure that applications do not pass unvalidated or unsanitized data directly to the template engine.

Thymeleaf Spring5
All versions

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • No remediation found in references.
Thymeleaf Spring6
All versions

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • No remediation found in references.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-41901
NVD Published Date:
May 12, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]