Read the docs
TI-2023-17993 Aliases CVE-2023-35931GHSA-3g7p-8qhx-mc8r

Shescape potential environment variable exposure on Windows with CMD

Priority LOW 22CWE-526Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

Shescape is a simple shell escape library for JavaScript. An attacker may be able to get read-only access to environment variables. This bug has been patched in version 1.7.1.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00811 57th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed shescape (ericcornelissen): 1.7.1shescape (npm): 1.7.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ericcornelissenshescapebefore 1.7.11.7.1Patch availableCNA
—shescape (npm)before 1.7.11.7.1Patch availableGHSA-3g7p-8qhx-mc8r
  • shescape Vendorericcornelissen Affected before 1.7.1 Fixed in 1.7.1 Patch available CNA
  • shescape (npm) Vendor— Affected before 1.7.1 Fixed in 1.7.1 Patch available GHSA-3g7p-8qhx-mc8r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*before 1.7.1Vulnerableericcornelissen
  • cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:* Versions before 1.7.1 Vulnerable ·ericcornelissen

Remediation

  • Fix · CNA shescape (ericcornelissen) Fixed in 1.7.1
  • Fix · GHSA-3g7p-8qhx-mc8r shescape (npm) Fixed in 1.7.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-35931
  2. 2026-10-03 Alias added: GHSA-3g7p-8qhx-mc8r

References

  • TI-2022-13220 Insufficient escaping of whitespace in shescape CVSS 3.1CRITICAL 9.8
  • TI-2022-13219 Insufficient escaping of line feeds for CMD in shescape CVSS 3.1CRITICAL 9.8
  • TI-2022-09469 Regular expression denial of service (ReDoS) in shescape CVSS 3.1HIGH 7.5
  • TI-2026-24632 Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash CVSS 4.0MEDIUM 6.9
  • TI-2022-16487 Shescape Inefficient Regular Expression Complexity vulnerability CVSS 3.1HIGH 7.5
  • TI-2022-08540 Exposure of home directory through shescape on Unix with Bash CVSS 3.1MEDIUM 6.2
See all 8 →

Sources