{"cve":"CVE-2023-40185","nvd":{"published":"2023-08-23T21:15:09.063","modified":"2026-06-17T06:16:37.013","status":"Modified","description":"shescape is simple shell escape library for JavaScript. This may impact users that use Shescape on Windows in a threaded context. The vulnerability can result in Shescape escaping (or quoting) for the wrong shell, thus allowing attackers to bypass protections depending on the combination of expected and used shell. This bug has been patched in version 1.7.4.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":8.6},"cwes":["CWE-150"],"references":["https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63","https://github.com/ericcornelissen/shescape/pull/1142","https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4","https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549","https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63"],"products":["shescape_project:shescape"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40185","score":0.00675,"percentile":0.52212,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-j55r-787p-m549","url":"https://osv.dev/vulnerability/GHSA-j55r-787p-m549","summary":"Shescape on Windows escaping may be bypassed in threaded context","modified":"2023-11-08T04:13:19.904647Z","packages":[{"ecosystem":"npm","name":"shescape","purl":"pkg:npm/shescape","ranges":["<1.7.4"],"fixed":["1.7.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}