Skip to content
Fencer Vulns
low 3.1

CVE-2023-35931 json

Shescape potential environment variable exposure on Windows with CMD

published 2023-06-22 3 y ago modified 2026-09-10 1 mo ago also GHSA-3g7p-8qhx-mc8r , EUVD-2023-1669

cvss
3.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 57%
public exploits
0
none known

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.

Patch / fix

  • npm shescape 1.7.1
  • shescape_project shescape 1.7.1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
23 mo ago

Exploit prediction

0.81% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm shescape
<1.7.1
1.7.1

Affected products

  • ericcornelissen shescape

Classification

Weakness
  • CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.