PT-2026-36947 · Thymeleaf · Thymeleaf
Published
2026-04-29
·
Updated
2026-05-13
·
CVE-2026-41901
CVSS v3.1
9.0
Critical
| Vector | AV: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.5.RELEASE
Description
A security bypass exists in the expression execution mechanisms of Thymeleaf. The library fails to properly neutralize specific constructs within sandboxed (restricted) contexts, allowing unsafe template expressions to execute. If an application developer passes unsanitized variables to the template engine and these values are used in sandboxed contexts, it can lead to Server-Side Template Injection (SSTI), where an attacker can execute arbitrary code on the server.
Recommendations
Update to version 3.1.5.RELEASE.
Ensure applications do not pass unvalidated or unsanitized data directly to the template engine.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Thymeleaf