
cross-spawn patches Windows argument injection flaw in 6.0.7 and 7.1.0
A high-severity argument injection vulnerability in the cross-spawn Node.js library has been patched in versions 6.0.7 and 7.1.0. The flaw, rated 8.3 on the CVSS 4.0 scale, affects Windows applications that pass untrusted arguments to commands routed through cmd.exe. It stems from incorrect handling of backslashes before double quotes, allowing attackers to escape argument boundaries and alter program behavior. The issue was introduced as a regression in earlier versions attempting to fix a ReDoS vulnerability and has been resolved by replacing the flawed regex approach with a linear-time loop.