Security mailing lists by PureSourceCode

CVE-2021-21384

HIGH 7.8CVSS 3.1

Null characters not escaped

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.

Published
19 Mar 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-88
Also known as
GHSA-f2rp-38vg-j3gh
Sources
NVDJSONOSV GHSA-f2rp-38vg-j3ghJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD shescape_project shescape
cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*
< 1.1.3 1.1.3
OSV npm shescape < 1.1.3 1.1.3

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 19 Mar 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.