{"id":"CVE-2023-35931","published":"2023-06-23T19:32:53Z","modified":"2024-12-05T16:09:33Z","title":"Shescape potential environment variable exposure on Windows with CMD","vendor":"ericcornelissen","product":"shescape","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00811,"percentile":0.57831,"provenance":"source"},"cwes":[{"id":"CWE-526","name":"Cleartext Storage of Sensitive Information in an Environment Variable"}],"references":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ericcornelissen/shescape/pull/982","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":11.57},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"ericcornelissen","affectedVersions":[{"vendor":"ericcornelissen","product":"shescape","versions":["< 1.7.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-05T16:08:36.951164Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"shescape","vulnerableRanges":["<1.7.1"],"patched":["1.7.1"],"from":["GHSA-3g7p-8qhx-mc8r"],"provenance":"source"}],"summary":{"text":"Shescape, a shell escape library for JavaScript, contains a flaw that can cause environment variable exposure when used on Windows with CMD. An attacker who can reach the affected code path, with low privileges and in a scenario where a user performs some action, could obtain read-only access to environment variables.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:13Z"},"euvd":{"id":"EUVD-2023-1669","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-31179","published":"2022-08-01","fixed":"1.5.8","kev":false},{"cve":"CVE-2022-31180","published":"2022-08-01","fixed":"1.5.8","kev":false},{"cve":"CVE-2022-25918","published":"2022-10-27","fixed":"1.6.1","kev":false,"link":{"from":"CVE-2022-25918","to":"CVE-2023-35931","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:shescape","fromFixed":"1.6.1","toFixed":"1.7.1","daysApart":239}]}},{"cve":"CVE-2023-35931","published":"2023-06-23","fixed":"1.7.1","kev":false},{"cve":"CVE-2023-40185","published":"2023-08-23","fixed":"1.7.4","kev":false,"link":{"from":"CVE-2023-35931","to":"CVE-2023-40185","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:shescape","fromFixed":"1.7.1","toFixed":"1.7.4","daysApart":61}]}},{"cve":"CVE-2025-30222","published":"2025-03-25","fixed":"2.1.2","kev":false},{"cve":"CVE-2026-32094","published":"2026-03-11","fixed":"2.1.10","kev":false}],"package":"npm:shescape"}}