Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.14
Fix Suggestion:
Update to version v2.1.14
https://github.com/ericcornelissen/shescape.git (GITHUB):
Affected version(s) =v3.0.0 <v3.0.1
Fix Suggestion:
Update to version v3.0.1
shescape (NPM):
Affected version(s) >=2.1.11 <2.1.14
Fix Suggestion:
Update to version 2.1.14
shescape (NPM):
Affected version(s) =3.0.0 <3.0.1
Fix Suggestion:
Update to version 3.0.1
Do you need more information?
Contact Us
CVSS 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)
Inefficient Algorithmic Complexity
Uncontrolled Resource Consumption
EPSS
Base Score:
0.34