๐Ÿ” CVE Alert

CVE-2026-41901

CRITICAL 9.0

Thymeleaf: Improper recognition of unauthorized syntax patterns in sandboxed Thymeleaf expressions

CVSS Score
9.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-917 CWE-1336
Vendor thymeleaf
Product thymeleaf
Published May 12, 2026
Last Updated May 13, 2026
Stay Ahead of the Next One

Get instant alerts for thymeleaf thymeleaf

Be the first to know when new critical vulnerabilities affecting thymeleaf thymeleaf are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

thymeleaf / thymeleaf
< 3.1.5.RELEASE

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-c9ph-gxww-7744