SCA: security update for shescape (GHSA-66pp-5p9w-q87j)

medium Tenable Self-Hosted Container Security Plugin ID 421238

Description

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

- Shescape is a simple shell escape library for JavaScript. Versions 1.7.2 through 2.1.1 are vulnerable to
potential environment variable exposure on Windows with CMD. This impact users of Shescape on Windows that
explicitly configure `shell: 'cmd.exe'` or `shell: true` using any of
`quote`/`quoteAll`/`escape`/`escapeAll`. An attacker may be able to get read-only access to environment
variables. This bug has been patched in v2.1.2. For those who are already using v2 of Shescape, no further
changes are required. Those who are are using v1 of Shescape should follow the migration guide to upgrade
to v2. There is no plan to release a patch compatible with v1 of Shescape. As a workaround, users can
remove all instances of `%` from user input before using Shescape. (CVE-2025-30222)

See Also

https://github.com/advisories/GHSA-66pp-5p9w-q87j

Plugin Details

Severity: Medium

ID: 421238

Version: Revision 1.11

Type: Local

Family: SCA Checks

Published: 3/26/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.2

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2025-30222

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.9

Threat Score: 2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/26/2025

Vulnerability Publication Date: 3/25/2025

Reference Information

CVE: CVE-2025-30222

cwe: CWE-200