Medium severity6.5NVD Advisory· Published Aug 23, 2023· Updated Jun 17, 2026
CVE-2023-40185
CVE-2023-40185
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
shescapenpm | < 1.7.4 | 1.7.4 |
Affected products
2- Range: < 1.7.4
Patches
Vulnerability mechanics
References
6- github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63nvdPatchWEB
- github.com/ericcornelissen/shescape/pull/1142nvdPatchWEB
- github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549nvdExploitPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-j55r-787p-m549ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-40185ghsaADVISORY
- github.com/ericcornelissen/shescape/releases/tag/v1.7.4nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.