PT-2026-71291 · Shescape · Shescape

CVE-2026-73413

·

Published

2026-07-24

·

Updated

2026-08-12

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Shescape versions 2.1.11 through 2.1.13 Shescape version 3.0.0
Description A flaw exists in the flag-protection loop within the compose function in src/internal/compose.js. When flagProtection is enabled, the system repeatedly joins and slices flag fragments, resulting in quadratic processing time relative to the input size. This affects the escape, escapeAll, quote, and quoteAll APIs. An attacker providing large untrusted input with numerous flag fragments can cause excessive CPU consumption, leading to a denial of service.
Recommendations Update to version 2.1.14. Update to version 3.0.1.

Exploit

Fix

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-73413
GHSA-GM3R-Q2WP-HW87

Affected Products

Shescape