What’s Vulnerable › Vulnerabilities
CVE-2023-35931: Shescape potential environment variable exposure on Windows with CMD
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-06-23 · updated 2026-06-17
- Weakness: CWE-526
Description
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.
Affected products
- ericcornelissen shescape: before 1.7.1 — fixed in 1.7.1
How to fix
Upgrade to a fixed version: ericcornelissen shescape 1.7.1. Check the vendor advisory for mitigations.
References
- https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac
- https://github.com/ericcornelissen/shescape/pull/982
- https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r
- https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac
- https://github.com/ericcornelissen/shescape/pull/982
- https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r
Get alerted when CVE-2023-35931 or the next vulnerability affects your stack