CVE Catalog

CVE-2026-73413

HighCVSS 8.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

26th percentile - higher than 26% of all known CVEs

Summary

Shescape, a shell escape library for JavaScript, from 2.1.11 until 2.1.14 and 3.0.1, has a performance issue in the flag-protection loop in compose. Processing large untrusted input with many flag fragments becomes quadratic, potentially leading to CPU exhaustion and denial of service.

Risk Assessment

An attacker could send large untrusted input, causing excessive CPU usage and denial of service for applications using the library.

Recommendation

Update Shescape to version 2.1.14 or 3.0.1 or later.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS