Is org.thymeleaf:thymeleaf 3.1 vulnerable?

Maven · 8 releases from 3.1.0 to 3.1.7 · latest org.thymeleaf:thymeleaf is 3.1.7.RELEASE · checked 18 Nov 2026

No known advisories in the last release

org.thymeleaf:thymeleaf 3.1.7, the last 3.1 release, has no known advisories. 3 advisories affect earlier 3.1.x releases, so update to 3.1.7.

Update within 3.1:mvn versions:use-dep-version -Dincludes=org.thymeleaf:thymeleaf -DdepVersion=3.1.7 -DforceVersion=true

Is your project on an affected org.thymeleaf:thymeleaf?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 3.1.x, affecting earlier releases

  • CriticalCVE-2026-41901GHSA-c9ph-gxww-77444 May 2026

    Sandboxed Thymeleaf expressions vulnerable to improper recognition of unauthorized syntax patterns

    Affected
    <3.1.5.RELEASE
    Fixed in
    3.1.5.RELEASE
  • CriticalCVE-2026-40478GHSA-xjw8-8c5c-9r7915 Apr 2026

    Improper neutralization of specific syntax patterns for unauthorized expressions in Thymeleaf

    Affected
    <3.1.4.RELEASE
    Fixed in
    3.1.4.RELEASE
  • CriticalCVE-2026-40477GHSA-r4v4-5mwr-2fwr15 Apr 2026

    Improper restriction of the scope of accessible objects in Thymeleaf expressions

    Affected
    <3.1.4.RELEASE
    Fixed in
    3.1.4.RELEASE

Every org.thymeleaf:thymeleaf 3.1.x release

Affected: 3.1.0 to 3.1.4. 3.1.5 and later are not affected. Latest org.thymeleaf:thymeleaf: 3.1.7.RELEASE.

VersionKnown advisories
org.thymeleaf:thymeleaf 3.1.7None
org.thymeleaf:thymeleaf 3.1.6None
org.thymeleaf:thymeleaf 3.1.5None
org.thymeleaf:thymeleaf 3.1.4CVE-2026-41901
org.thymeleaf:thymeleaf 3.1.3CVE-2026-41901, CVE-2026-40478, CVE-2026-40477
org.thymeleaf:thymeleaf 3.1.2CVE-2026-41901, CVE-2026-40478, CVE-2026-40477
org.thymeleaf:thymeleaf 3.1.1CVE-2026-41901, CVE-2026-40478, CVE-2026-40477
org.thymeleaf:thymeleaf 3.1.0CVE-2026-41901, CVE-2026-40478, CVE-2026-40477

Which of your client projects are still on org.thymeleaf:thymeleaf 3.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.thymeleaf:thymeleaf version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other org.thymeleaf:thymeleaf versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.