Skip to content

CVE-2026-40477 Improper restriction of the scope of accessible objects in Thymeleaf expressions

CriticalCVSS 9.1 EPSS 0.87%
Published
Updated
Exploit status
No public exploit known

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 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.

Affected products

ProductAffected versionsFixed in
org.thymeleaf/thymeleaf(Maven) < 3.1.4.RELEASE 3.1.4.RELEASE
org.thymeleaf/thymeleaf(Maven) = 1.0.0 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta4 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta5 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.0 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.4 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.5 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.0 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.0-beta1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.0-beta2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.10 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.11 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.12 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.13 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.14 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.15 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.16 No fix listed
Show 112 more
ProductAffected versionsFixed in
org.thymeleaf/thymeleaf(Maven) = 2.0.17 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.18 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.19 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.20 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.21 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.4 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.5 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.6 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.7 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.8 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.9 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-beta1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-beta2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-m1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-m2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-m3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.4.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.5.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.6.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.ALPHA01 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.ALPHA02 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.ALPHA03 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.BETA01 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.BETA02 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.BETA03 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.1.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.10.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.11.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.12.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.13.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.14.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.15.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.2.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.3.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.4.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.5.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.6.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.7.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.8.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.9.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.M1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.M2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.M3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.RC1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.RC2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = m1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) < 3.1.4.RELEASE 3.1.4.RELEASE
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.10.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.11.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.12.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.13.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.14.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.15.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.3.M1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.4.M2 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.5.M3 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.6.M4 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.7.RC1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.8.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.9.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.M1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.M2 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.M3 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.RC1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.RC2 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) < 3.1.4.RELEASE 3.1.4.RELEASE
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.M1 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.M2 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.M3 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.RC1 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.RC2 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.3.RELEASE No fix listed
thymeleaf = < 3.1.4.RELEASE No fix listed
thymeleaf org.thymeleaf:thymeleaf-spring5 = < 3.1.4.RELEASE No fix listed
thymeleaf org.thymeleaf:thymeleaf-spring6 = < 3.1.4.RELEASE No fix listed
redhat openshift devspaces < 1779528224 1779528224
redhat openshift devspaces < 1779359423 1779359423
redhat camel spring boot = 4 No fix listed
redhat jboss fuse All versions No fix listed
redhat jboss enterprise application platform = 7 No fix listed
redhat jboss enterprise application platform = 8 No fix listed
redhat jbosseapxp All versions No fix listed
redhat red hat single sign on All versions No fix listed
org.thymeleaf/thymeleaf(Maven) <= 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) <= 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) <= 3.1.3.RELEASE No fix listed
redhat/devspaces/openvsx-rhel9:1779528224(Red Hat:openshift_devspaces:3.28::el9) All versions No fix listed
redhat/devspaces/pluginregistry-rhel9:1779359423(Red Hat:openshift_devspaces:3.28::el9) All versions No fix listed
redhat/thymeleaf(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/spring-boot-starter-thymeleaf(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/thymeleaf(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/thymeleaf-extras-java8time(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/thymeleaf-spring5(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
thymeleaf < 3.1.4 3.1.4

References