CVE-2021-21384Shescape Project Shescape
High 7.8
Follow: this CVE · Shescape Project · Shescape Project Shescape We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 49
- Auth required
- Yes
- Published
- Mar 19, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Shescape.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | shescape |
< 1.1.3 |
1.1.3 |
npm install shescape@1.1.3 |
Per OSV / GitHub Advisories (GHSA-f2rp-38vg-j3gh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| shescape_project | shescape | < 1.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Exploit Third Party Advisory
- www.npmjs.com Product