{"id":"CVE-2023-35931","summary":"Shescape potential environment variable exposure on Windows with CMD","details":"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.\n\n\n","aliases":["GHSA-3g7p-8qhx-mc8r"],"modified":"2026-07-11T03:54:39.536556476Z","published":"2023-06-23T19:32:53.897Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-526"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35931.json"},"references":[{"type":"WEB","url":"https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35931.json"},{"type":"ADVISORY","url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35931"},{"type":"FIX","url":"https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac"},{"type":"FIX","url":"https://github.com/ericcornelissen/shescape/pull/982"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ericcornelissen/shescape","events":[{"introduced":"0"},{"fixed":"0640cc95c335c88693326aa72f7534a751ef7da7"},{"fixed":"d0fce70f987ac0d8331f93cb45d47e79436173ac"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.7.1"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*"}}],"versions":["v1.7.0","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.10","v1.5.9","v1.5.8","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.0","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.1","v1.2.0","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-35931.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}