Security mailing lists by PureSourceCode

CVE-2026-41901

CRITICAL 9.0CVSS 3.1

Sandboxed Thymeleaf expressions vulnerable to improper recognition of unauthorized syntax patterns

Thymeleaf is a server-side Java template engine for web and standalone environments. Prior to 3.1.5.RELEASE, a security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf. 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 vulnerability is fixed in 3.1.5.RELEASE.

Published
12 May 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-1336CWE-917
Also known as
GHSA-c9ph-gxww-7744
Sources
NVDJSONOSV GHSA-c9ph-gxww-7744JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.thymeleaf:thymeleaf < 3.1.5.RELEASE 3.1.5.RELEASE
OSV Maven org.thymeleaf:thymeleaf-spring5 < 3.1.5.RELEASE 3.1.5.RELEASE
OSV Maven org.thymeleaf:thymeleaf-spring6 < 3.1.5.RELEASE 3.1.5.RELEASE

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.