PT-2026-33214 · Thymeleaf · Thymeleaf

Published

2026-04-15

·

Updated

2026-04-18

·

CVE-2026-40477

CVSS v3.1

9.0

Critical

VectorAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Thymeleaf versions prior to 3.1.4.RELEASE
Description A security bypass exists in the expression execution mechanisms. The library fails to properly restrict the scope of accessible objects, which allows specific 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 achieve Server-Side Template Injection (SSTI), a technique where an attacker injects malicious code into a template to be executed on the server.
Recommendations Update to version 3.1.4.RELEASE. Ensure applications do not pass unvalidated user input directly to the template engine.

Fix

Weakness Enumeration

Related Identifiers

CVE-2026-40477
GHSA-R4V4-5MWR-2FWR

Affected Products

Thymeleaf