VULNERABILITY INTELLIGENCE

CVE-2022-25918

CVSS score5.3 MEDIUM
EPSS probability1.63%
CISA KEVNot currently listed
Published2022-10-27
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Description

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.

Weakness classification

  • nvd@nist.gov: CWE-1333
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-1333

Primary references