Live threats

All CVEs / Shescape Project

CVE-2023-40185Shescape Project Shescape

High 8.6 No auth needed

Priority
67
CVSS 3.1
8.6
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
No
Published
Aug 23, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-150
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Shescape.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm shescape < 1.7.4 1.7.4 npm install shescape@1.7.4

Per OSV / GitHub Advisories (GHSA-j55r-787p-m549). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
shescape_projectshescape< 1.7.4

Official sources

References

Links published by the sources. Open them with care.