{"api_version":"1","generated_at":"2026-07-23T12:20:18+00:00","cve":"CVE-2023-35931","urls":{"html":"https://cve.report/CVE-2023-35931","api":"https://cve.report/api/cve/CVE-2023-35931.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-35931","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-35931"},"summary":{"title":"CVE-2023-35931","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-06-23 20:15:00","updated_at":"2023-07-04 01:55:00"},"problem_types":["CWE-526"],"metrics":[],"references":[{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1","name":"https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1","refsource":"MISC","tags":[],"title":"Release Release v1.7.1 · ericcornelissen/shescape · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac","name":"https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac","refsource":"MISC","tags":[],"title":"Test coverage for environment variables (#982) · ericcornelissen/shescape@d0fce70 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ericcornelissen/shescape/pull/982","name":"https://github.com/ericcornelissen/shescape/pull/982","refsource":"MISC","tags":[],"title":"Test coverage for environment variables by ericcornelissen · Pull Request #982 · ericcornelissen/shescape · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r","name":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r","refsource":"MISC","tags":[],"title":"Potential environment variable exposure on Windows with CMD · Advisory · ericcornelissen/shescape · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-35931","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35931","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"35931","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shescape_project","cpe5":"shescape","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-35931","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-526: Cleartext Storage of Sensitive Information in an Environment Variable","cweId":"CWE-526"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"ericcornelissen","product":{"product_data":[{"product_name":"shescape","version":{"version_data":[{"version_affected":"=","version_value":"< 1.7.1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r","refsource":"MISC","name":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r"},{"url":"https://github.com/ericcornelissen/shescape/pull/982","refsource":"MISC","name":"https://github.com/ericcornelissen/shescape/pull/982"},{"url":"https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac","refsource":"MISC","name":"https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac"},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1","refsource":"MISC","name":"https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1"}]},"source":{"advisory":"GHSA-3g7p-8qhx-mc8r","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-06-23 20:15:00","lastModifiedDate":"2023-07-04 01:55:00","problem_types":["CWE-526"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.7.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}