Install
cross-spawn
Cross platform child_process#spawn and child_process#spawnSync
8.0.0Latest, 29 Nov 2026
1.5BDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
1.2KStars
3.2/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Critical | cross-spawn: Command injection on Windows when spawning batch files CVE-2026-137199 | Fixed in 7.1.0, 6.0.7 | 1 Dec 2026 |
| High | Regular Expression Denial of Service (ReDoS) in cross-spawn CVE-2024-21538 | Fixed in 7.0.5, 6.0.6 | 8 Nov 2024 |
In the news
- Regression tests for the cross-spawn Windows command-injection fix dev.to, 2 Dec 2026
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.