Skip to main content
No exploitation reportedFix available

CVE-2023-40185

No exploitation reported by the sources we read.

  • Published2023-08-23
  • Fixed in1.7.4
  • WeaknessCWE-150

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-08-2321:15CVE publishedNVD

Versions per branch

NVD · OSV
Shescape project shescapeversion to verify
BranchAffectedFixed in
1.7< 1.7.41.7.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • ericcornelissen shescape
    Affected
    • = < 1.7.4no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-08-23

Fix

  1. Update Shescape project shescape to 1.7.4

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2024-09-30
  • CNACVSS 3.16.5known since 2026-10-23
  • NVDCVSS 3.18.6read 2026-10-23
  • CNAweakness (CWE)CWE-150known since 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2023-08-22

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Published
2023-08-23
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-j55r-787p-m549

Frequently asked questions

What is CVE-2023-40185?

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.

Is CVE-2023-40185 actively exploited?

Active exploitation of CVE-2023-40185 has not been confirmed. Its EPSS score was 0.7% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-40185?

CVE-2023-40185 has a CVSS v3 base score of 8.6 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N.

Running shescape? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record