Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-40477

Опубликовано: 17 апр. 2026
Источник: redhat
CVSS3: 8.5
EPSS Низкий

Описание

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.

A flaw was found in Thymeleaf, a server-side Java template engine. An unauthenticated remote attacker can exploit a security bypass vulnerability in the expression execution mechanisms. By providing unvalidated user input directly to the template engine, the attacker can bypass the library's protections, leading to Server-Side Template Injection (SSTI). This allows access to potentially sensitive objects from within a template.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat build of Apache Camel for Spring Boot 4camel-thymeleafNot affected
Red Hat build of Apache Camel for Spring Boot 4thymeleafNot affected
Red Hat Fuse 7thymeleafWill not fix
Red Hat JBoss Enterprise Application Platform 7smallrye-mutiny-vertx-web-templ-thymeleafNot affected
Red Hat JBoss Enterprise Application Platform 7thymeleafNot affected
Red Hat JBoss Enterprise Application Platform 7vertx-web-templ-thymeleafNot affected
Red Hat JBoss Enterprise Application Platform 8smallrye-mutiny-vertx-web-templ-thymeleafNot affected
Red Hat JBoss Enterprise Application Platform 8thymeleafNot affected
Red Hat JBoss Enterprise Application Platform 8vertx-web-templ-thymeleafNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packsmallrye-mutiny-vertx-web-templ-thymeleafAffected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-917
https://bugzilla.redhat.com/show_bug.cgi?id=2459344thymeleaf: Thymeleaf: Server-Side Template Injection via security bypass in expression execution

EPSS

Процентиль: 55%
0.00851
Низкий

8.5 High

CVSS3

Связанные уязвимости

CVSS3: 9
nvd
4 месяца назад

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.

CVSS3: 9
github
4 месяца назад

Improper restriction of the scope of accessible objects in Thymeleaf expressions

CVSS3: 9
fstec
4 месяца назад

Уязвимость JavaScript-движка Thymeleaf, связанная с непринятием мер по нейтрализации специальных элементов, используемых в операторе языка выражений, позволяющая нарушителю обойти существующие механизмы безопасности

EPSS

Процентиль: 55%
0.00851
Низкий

8.5 High

CVSS3