CVE-2023-40185

MEDIUM

Shescape <1.7.4 - Privilege Escalation

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 6.5
EPSS 0.0008
EPSS Percentile 24.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-150
Status published
Products (2)
npm/shescape 0 - 1.7.4npm
shescape_project/shescape < 1.7.4
Published Aug 23, 2023
Tracked Since Feb 18, 2026