Expression Language Injection Affecting spring-boot-starter-thymeleaf package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Expression Language Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-SPRINGBOOTSTARTERTHYMELEAF-16117989
  • published21 Apr 2026
  • disclosed17 Apr 2026

Introduced: 17 Apr 2026

NewCVE-2026-40477  (opens in a new tab)
CWE-917  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 spring-boot-starter-thymeleaf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream spring-boot-starter-thymeleaf package and not the spring-boot-starter-thymeleaf package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1