๐Ÿ›ก๏ธ CVE-2026-40478
๐Ÿ”ด CVSS 9.5 โ€” Critical โœ… No Known Exploit CWE-1336 NVD
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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 the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly neutralize specific syntax patterns that allow for the execution of unauthorized expressions. 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.

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE CWE-1336
Public Exploit โœ… No
Source NVD
Published 2026-04-15
Updated 2026-06-02
Modified 2026-05-05
Fix URL N/A

Affected Packages

Software From version Fixed in
org.thymeleaf:thymeleaf โ€” 3.1.4.RELEASE
org.thymeleaf:thymeleaf-spring5 โ€” 3.1.4.RELEASE
org.thymeleaf:thymeleaf-spring6 โ€” 3.1.4.RELEASE
thymeleaf โ€” 3.1.4

Similar Threats

Site Security Check

Concerned your site may already be targeted?

BotEraser analyzes incoming traffic patterns and helps identify bot behavior consistent with known exploit attempts.

Check My Site Free โ†’

No credit card required  ยท  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.