GHSA-cr84-xvw4-qx3c · Severity: high · Ecosystem: npm — Inefficient Regular Expression Complexity in shescape
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.
Conclusion & alert: CVE-2022-25918 is rated Exploit Available (51.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.22%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-07 | 0.33% | 0.22% | -0.11% |
| 2 | 2025-11-21 | 0.53% | 0.33% | -0.20% |
| 3 | 2025-11-18 | — | 0.53% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-cr84-xvw4-qx3c · Severity: high · Ecosystem: npm — Inefficient Regular Expression Complexity in shescape
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| shescape_project | shescape | 1.5.10 | cpe:2.3:a:shescape_project:shescape:1.5.10:*:*:*:*:node.js:*:* |
| shescape_project | shescape | 1.6.0 | cpe:2.3:a:shescape_project:shescape:1.6.0:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/ericcornelissen/shescape/blob/main/src/unix.js%23L52 | Broken Link |
| https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9 | Patch Third Party Advisory |
| https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1 | Release Notes Third Party Advisory |
| https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108 | Exploit Patch Third Party Advisory |