---
cve: "CVE-2023-40185"
severity: "MEDIUM"
cvss: 6.5
epss: "68%"
vendor: "ericcornelissen"
kev: false
exploited: false
published: "2023-08-23 21:15:09"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-18T07:50:56+02:00"
---

# CVE-2023-40185

> 6.5 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Hoch | good |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- 5b0d2015093d607840c32782eee33c581e772df0 (Commit)
- 0b976dab645abf45ffd85e74a8c6e51ee2f42d63 (Commit)

## Referenzen

- <https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549>
- <https://github.com/ericcornelissen/shescape/pull/1142>
- <https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63>
- <https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2023-40185) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
