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.
https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1
https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9
https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108
https://github.com/ericcornelissen/shescape/blob/main/src/unix.js%23L52
Source: Mitre, NVD
Published: 2022-10-27
Updated: 2026-06-17
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.00196