CVE-2021-21384
CVE-2021-21384 is a medium-severity vulnerability in Shescape Project Shescape with a CVSS 3.x base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-88.
Key facts
- Severity: Medium (CVSS 3.x base score 6.3)
- CVSS v2: 4.6
- EPSS exploit prediction: 1% (43rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-88
- Affected product: Shescape Project Shescape
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-21384?
- 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.
- How severe is CVE-2021-21384?
- CVE-2021-21384 has a CVSS 3.x base score of 6.3, rated medium severity. It is exploitable over local access with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity high, and availability none.
- Is CVE-2021-21384 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-21384?
- CVE-2021-21384 affects Shescape Project Shescape. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-21384?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-21384 published?
- CVE-2021-21384 was published on 2021-03-19 and last updated on 2026-06-17.
References
- https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b
- https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh
- https://www.npmjs.com/package/shescape
Affected products (1)
- cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*
More vulnerabilities in Shescape Project Shescape
- CVE-2022-31180 — Critical (CVSS 9.8): Shescape is a simple shell escape package for JavaScript. Affected versions were found to have insufficient escaping of…
- CVE-2022-31179 — High (CVSS 8.1): Shescape is a simple shell escape package for JavaScript. Versions prior to 1.5.8 were found to be subject to code…
- CVE-2026-32094 — Medium (CVSS 6.5): Shescape is a simple shell escape library for JavaScript. Prior to 2.1.10, Shescape#escape() does not escape…
- CVE-2023-40185 — Medium (CVSS 6.5): shescape is simple shell escape library for JavaScript. This may impact users that use Shescape on Windows in a…
- CVE-2022-24725 — Medium (CVSS 6.2): Shescape is a shell escape package for JavaScript. An issue in versions 1.4.0 to 1.5.1 allows for exposure of the home…
- CVE-2022-36064 — Medium (CVSS 5.9): Shescape is a shell escape package for JavaScript. An Inefficient Regular Expression Complexity vulnerability impacts…
All CVEs affecting Shescape Project Shescape →
Other CWE-88 (Argument Injection) vulnerabilities
- CVE-2026-57572 — Critical (CVSS 10.0): Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted…
- CVE-2026-40281 — Critical (CVSS 10.0): Gotenberg is a Docker-powered stateless API for PDF files. In versions 8.30.1 and earlier, the metadata write endpoint…
- CVE-2023-6269 — Critical (CVSS 10.0): An argument injection vulnerability has been identified in the administrative web interface of the Atos Unify…
- CVE-2007-0882 — Critical (CVSS 10.0): Argument injection vulnerability in the telnet daemon (in.telnetd) in Solaris 10 and 11 (SunOS 5.10 and 5.11)…
- CVE-2004-0480 — Critical (CVSS 10.0): Argument injection vulnerability in IBM Lotus Notes 6.0.3 and 6.5 allows remote attackers to execute arbitrary code via…
- CVE-1999-0113 — Critical (CVSS 10.0): Some implementations of rlogin allow root access if given a -froot parameter.