VYPR
Critical severity9.0GHSA Advisory· Published May 12, 2026· Updated May 13, 2026

CVE-2026-41901

CVE-2026-41901

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.thymeleaf:thymeleafMaven
< 3.1.5.RELEASE3.1.5.RELEASE
org.thymeleaf:thymeleaf-spring5Maven
< 3.1.5.RELEASE3.1.5.RELEASE
org.thymeleaf:thymeleaf-spring6Maven
< 3.1.5.RELEASE3.1.5.RELEASE

Affected products

4

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.