CVE-2021-21384

MEDIUM

shescape < 1.1.3 - Command Injection via Newline Character

Title source: llm
STIX 2.1

Description

shescape is a simple shell escape package for JavaScript. In shescape before version 1.1.3, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The problem has been patched in version 1.1.3. No further changes are required.

References (4)

Core 4

Scores

CVSS v3 6.3
EPSS 0.0057
EPSS Percentile 42.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N

Details

CWE
CWE-88
Status published
Products (2)
npm/shescape 0 - 1.1.3npm
shescape_project/shescape < 1.1.3
Published Mar 19, 2021
Tracked Since Feb 18, 2026