CVE-2026-41901

Aliases:GHSA-c9ph-gxww-7744
Received
Published: 12 May 2026, 22:35
Last modified:12 May 2026, 22:35

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9 CRITICAL
v3.1 (cve.org)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

12 May 2026, 22:35
Published
Vulnerability first disclosed

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.

CVSS Metrics

  • v3.1CRITICALScore: 9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Techniques & Countermeasures

  • CWE-917Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

    The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.

  • CWE-1336Improper Neutralization of Special Elements Used in a Template Engine

    The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.

Affected Systems

  • org.thymeleafthymeleaf

    < 3.1.5.RELEASE

  • org.thymeleafthymeleaf-spring5

    < 3.1.5.RELEASE

  • org.thymeleafthymeleaf-spring6

    < 3.1.5.RELEASE

  • thymeleafthymeleaf

    < 3.1.5.RELEASE

References (2)