SCA: security update for org.thymeleaf:thymeleaf, org.thymeleaf:thymeleaf-spring5, org.thymeleaf:thymeleaf-spring6 (GHSA-xjw8-8c5c-9r79)

high Tenable Self-Hosted Container Security Plugin ID 440442

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Thymeleaf is a server-side Java template engine for web and standalone environments. Versions
3.1.3.RELEASE and prior contain a security bypass vulnerability in the the expression execution
mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly
neutralize specific syntax patterns that allow for the execution of unauthorized expressions. If an
application developer passes unvalidated user input directly to the template engine, an unauthenticated
remote attacker can bypass the library's protections to achieve Server-Side Template Injection (SSTI).
This issue has ben fixed in version 3.1.4.RELEASE. (CVE-2026-40478)

Solution

Update the org.thymeleaf:thymeleaf library and its related packages to version 3.1.4.RELEASE or later.

See Also

https://github.com/advisories/GHSA-xjw8-8c5c-9r79

Plugin Details

Severity: High

ID: 440442

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/16/2026

Updated: 6/30/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.16

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-40478

CVSS v3

Risk Factor: High

Base Score: 8.5

Temporal Score: 7.4

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/15/2026

Vulnerability Publication Date: 4/15/2026

Reference Information

CVE: CVE-2026-40478