Loading advisory.
Loading advisory.
Sandboxed Thymeleaf expressions vulnerable to improper recognition of unauthorized syntax patterns
A security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf up to and including 3.1.4.RELEASE.
Published 2026-05-04 21:15 UTC · Modified 2026-05-13 17:02 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.thymeleaf:thymeleaf | Maven | < 3.1.5.RELEASE versions 1.0.0, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 1.0.0-beta5, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 2.0.0, 2.0.0-beta1, 2.0.0-beta2, 2.0.1, 2.0.10, 2.0.11, 2.0.12 and 62 more | 3.1.5.RELEASE | No single command for Maven. Update to 3.1.5.RELEASE in your build file. |
| org.thymeleaf:thymeleaf-spring5 | Maven | < 3.1.5.RELEASE versions 3.0.10.RELEASE, 3.0.11.RELEASE, 3.0.12.RELEASE, 3.0.13.RELEASE, 3.0.14.RELEASE, 3.0.15.RELEASE, 3.0.3.M1, 3.0.4.M2, 3.0.5.M3, 3.0.6.M4, 3.0.7.RC1, 3.0.8.RELEASE, 3.0.9.RELEASE, 3.1.0.M1, 3.1.0.M2, 3.1.0.M3, 3.1.0.RC1, 3.1.0.RC2, 3.1.0.RELEASE, 3.1.1.RELEASE and 3 more | 3.1.5.RELEASE | No single command for Maven. Update to 3.1.5.RELEASE in your build file. |
| org.thymeleaf:thymeleaf-spring6 | Maven | < 3.1.5.RELEASE versions 3.1.0.M1, 3.1.0.M2, 3.1.0.M3, 3.1.0.RC1, 3.1.0.RC2, 3.1.0.RELEASE, 3.1.1.RELEASE, 3.1.2.RELEASE, 3.1.3.RELEASE, 3.1.4.RELEASE | 3.1.5.RELEASE | No single command for Maven. Update to 3.1.5.RELEASE in your build file. |
A security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf up to and including 3.1.4.RELEASE. 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 has been fixed in Thymeleaf 3.1.5.RELEASE. All users are advised to upgrade immediately.
No workaround is available beyond ensuring applications do not pass unvalidated/unsanitized data directly to the template engine. Upgrading to 3.1.5.RELEASE is strongly recommended in any case.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.004 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.004 | v2026.06.15 |