cve.bz

CVE-2022-25918

7.5 highEPSS 1.6%

High (7.5) in shescape project shescape. EPSS 1.6% chance of exploitation in the next 30 days. Fixed in shescape 1.6.1.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% chance of exploitation in the next 30 days; higher than 76% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cr84-xvw4-qx3cnpmshescape>=1.5.10 <1.6.11.6.1

References

Check your stackJSON