Skip to main content
← npm

shell-quote

5 known vulnerabilities (3 high), with the versions each affects and the releases that fix them.

Latest release
1.12.0 (Oct 2, 2026): no advisory affects it
Newest unaffected release
1.12.0 (Oct 2, 2026), the latest release
Advisories
5 · 3 high
Weekly downloads
96.6M
Dependents
75.5K
Releases
34 since 0.0.0 (May 18, 2012)
Registry
npm
Releases read
Nov 8, 2026

Version timeline

Every release cve.now has on record, lowest version on the left; each bar is a run of versions an advisory affects.

Advisories 5

  • shell-quote `quote()` command injection via a line terminator in a token after a `{ comment }` token

    Affected: from 1.8.4, fixed in 1.11.0.

    Fixed in 1.11.0 (released Sep 29, 2026, the day of disclosure).

    The latest release, 1.12.0, is not affected.

    27% of shell-quote downloads last week were affected versions (29.2M).

  • shell-quote parse() is quadratic in token count, enabling denial of service

    Affected: through 1.8.4; fixed in 1.9.0.

    Fixed in 1.9.0 (released Jun 25, 2026, the day of disclosure).

    The latest release, 1.12.0, is not affected.

    46% of shell-quote downloads last week were affected versions (50.2M).

  • shell-quote `quote()` does not validate object-token shapes, allowing command injection via line terminators in `.op`

    Affected: from 1.1.0, fixed in 1.8.4; from 1.1.0, fixed in 1.8.4.

    Fixed in 1.8.4 (released May 22, 2026, the day of disclosure).

    The latest release, 1.12.0, is not affected.

    36% of shell-quote downloads last week were affected versions (39.7M).

  • The shell-quote package before 1.7.3 for Node.js allows command injection.

    Affected: from 1.6.3, fixed in 1.7.3.

    Fixed in 1.7.3 (released Oct 21, 2021, the day of disclosure).

    The latest release, 1.12.0, is not affected.

    1.5% of shell-quote downloads last week were affected versions (1.6M).

  • The npm module "shell-quote" 1.6.0 and earlier cannot correctly escape ">" and "<" operator used for redirection in shell.

    Affected: fixed in 1.6.1.

    Fixed in 1.6.1 (released Jun 17, 2016, 713 days before disclosure).

    The latest release, 1.12.0, is not affected.

    0.1% of shell-quote downloads last week were affected versions (110.4K).