SCA: security update for twig/twig (GHSA-2g2g-8p8h-fgwm)

medium Tenable Cloud Security Plugin ID 442714

Description

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

- Twig is a template language for PHP. From 3.0.0 until 3.26.0, Twig\Profiler\Dumper\HtmlDumper writes
Profile::getTemplate() and Profile::getName() into HTML output without escaping, allowing attacker-
controlled template or profile names to inject arbitrary HTML when a browser renders the profiler dump.
This issue is fixed in version 3.26.0. (CVE-2026-47730)

Solution

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

See Also

https://github.com/advisories/GHSA-2g2g-8p8h-fgwm

Plugin Details

Severity: Medium

ID: 442714

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/6/2026

Updated: 7/20/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.61

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-47730

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: 6/5/2026

Vulnerability Publication Date: 6/5/2026

Reference Information

CVE: CVE-2026-47730

cwe: CWE-79