# shell-quote (npm)

quote and parse shell commands

- Latest: 1.12.0 (2026-10-02)
- Licence: MIT
- Downloads: 423809104 last month
- Advisories on the latest version: 0

- CVE-2026-102422 CRITICAL: shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token Fixed in 1.11.0.
- CVE-2026-13311 HIGH: shell-quote: Quadratic-complexity Denial of Service in `parse()` (CWE-407) Fixed in 1.9.0.
- CVE-2026-9277 CRITICAL: shell-quote quote() does not escape newlines in object .op values Fixed in 1.8.4.
- CVE-2021-42740 CRITICAL: Improper Neutralization of Special Elements used in a Command in Shell-quote Fixed in 1.7.3.
- CVE-2016-10541 CRITICAL: Potential Command Injection in shell-quote Fixed in 1.6.1.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
