Live threats

All CVEs / Shescape Project

CVE-2022-25918Shescape Project Shescape

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Oct 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Shescape.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm shescape ≥ 1.5.10 < 1.6.1 1.6.1 npm install shescape@1.6.1

Per OSV / GitHub Advisories (GHSA-cr84-xvw4-qx3c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
shescape_projectshescape1.5.10
shescape_projectshescape1.6.0

Official sources

References

Links published by the sources. Open them with care.