CVE-2022-25918: Shescape Project Shescape

High severity, CVSS 7.5. EPSS: 1.4% chance of exploitation in the next 30 days.

The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the escape function in index.js, due to the usage of insecure regex in the escapeArgBash function.

Affected products

Published 2022-10-27. Last modified 2026-06-17.