Install
shell-quote
quote and parse shell commands
1.12.0Latest, 2 Oct 2026
424MDownloads, last month
0Advisories on the latest
5Advisories, all versions
MITLicence
70Stars
5.0/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Critical | shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token CVE-2026-102422 | Fixed in 1.11.0 | 6 Oct 2026 |
| High | shell-quote: Quadratic-complexity Denial of Service in `parse()` (CWE-407) CVE-2026-13311 | Fixed in 1.9.0 | 20 Jul 2026 |
| Critical | shell-quote quote() does not escape newlines in object .op values CVE-2026-9277 | Fixed in 1.8.4 | 9 Jun 2026 |
| Critical | Improper Neutralization of Special Elements used in a Command in Shell-quote CVE-2021-42740 | Fixed in 1.7.3 | 24 May 2022 |
| Critical | Potential Command Injection in shell-quote CVE-2016-10541 | Fixed in 1.6.1 | 18 Feb 2019 |
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.