Security mailing lists by PureSourceCode

CVE-2023-40185

HIGH 8.6CVSS 3.1

Shescape on Windows escaping may be bypassed in threaded context

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.

Published
23 Aug 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-150
Also known as
GHSA-j55r-787p-m549
Sources
NVDJSONOSV GHSA-j55r-787p-m549JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD shescape_project shescape
cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*
< 1.7.4 1.7.4
OSV npm shescape < 1.7.4 1.7.4

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Aug 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Aug 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.