{"cve":"CVE-2026-73413","nvd":{"published":"2026-08-12T20:17:56.350","modified":"2026-10-24T15:10:00.190","status":"Deferred","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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7},"cvss_v3":null,"cwes":["CWE-400","CWE-407"],"references":["https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de","https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f","https://github.com/ericcornelissen/shescape/pull/2649","https://github.com/ericcornelissen/shescape/pull/2651","https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:35.584907681+00:00"},"epss":{"cve":"CVE-2026-73413","score":0.0059,"percentile":0.47914,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-gm3r-q2wp-hw87","url":"https://osv.dev/vulnerability/GHSA-gm3r-q2wp-hw87","summary":"Shescape: Quadratic-time denial of service in the flag-protection","modified":"2026-08-12T19:59:13.755299Z","packages":[{"ecosystem":"npm","name":"shescape","purl":"pkg:npm/shescape","ranges":[">=2.1.11 <2.1.14"],"fixed":["2.1.14"]},{"ecosystem":"npm","name":"shescape","purl":"pkg:npm/shescape","ranges":[">=3.0.0 <3.0.1"],"fixed":["3.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}