SCA: security update for twig/twig (GHSA-4j38-f5cw-54h7)

medium Tenable Cloud Security Plugin ID 442297

Description

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

- Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as
safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is
applied to untrusted input. This issue is fixed in version 3.26.0. (CVE-2026-46628)

Solution

Update the twig/twig library and its related packages to version 3.26.0 or later.

See Also

https://github.com/advisories/GHSA-4j38-f5cw-54h7

Plugin Details

Severity: Medium

ID: 442297

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/22/2026

Updated: 7/16/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.87

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2026-46628

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/21/2026

Vulnerability Publication Date: 5/21/2026

Reference Information

CVE: CVE-2026-46628

cwe: CWE-116