CVE-2026-73413
Published:August 12, 2026
Updated:August 31, 2026
Shescape is a simple shell escape library for JavaScript. From 2.1.11 until 2.1.14 and 3.0.1, the flag-protection loop in compose in src/internal/compose.js repeatedly joins and slices flag fragments when flagProtection is enabled, which is the default, making processing quadratic in input size across the escape, escapeAll, quote, and quoteAll APIs. An attacker who can supply a large untrusted input containing many flag fragments can consume CPU and cause denial of service. This issue is fixed in versions 2.1.14 and 3.0.1.
Affected Packages
https://github.com/ericcornelissen/shescape.git (GITHUB):
Affected version(s) >=v2.1.11 <v2.1.14Fix Suggestion:
Update to version v2.1.14https://github.com/ericcornelissen/shescape.git (GITHUB):
Affected version(s) =v3.0.0 <v3.0.1Fix Suggestion:
Update to version v3.0.1shescape (NPM):
Affected version(s) >=2.1.11 <2.1.14Fix Suggestion:
Update to version 2.1.14shescape (NPM):
Affected version(s) =3.0.0 <3.0.1Fix Suggestion:
Update to version 3.0.1Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.34