CVE-2026-73413
Received
Received - Intake
Denial of Service in Shescape JavaScript Library
Vulnerability report for CVE-2026-73413, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-12
Last updated on: 2026-08-12
Assigner: GitHub, Inc.
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| shescape | shescape | From 2.1.11 (inc) to 2.1.14 (inc) |
| shescape | shescape | 2.1.14 |
| shescape | shescape | 3.0.1 |
| ericcornelissen | shescape | From 2.1.11 (inc) to 2.1.14 (exc) |
| ericcornelissen | shescape | From 3.0.0 (inc) to 3.0.1 (exc) |
| ericcornelissen | shescape | 2.1.14 |
| ericcornelissen | shescape | 3.0.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-400 | The product does not properly control the allocation and maintenance of a limited resource. |
| CWE-407 | An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached. |