Inefficient Algorithmic Complexity Affecting shescape package, versions >=2.1.11 <2.1.14>=3.0.0 <3.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SHESCAPE-18752068
  • published13 Aug 2026
  • disclosed12 Aug 2026
  • creditoran-s

Introduced: 12 Aug 2026

NewCVE-2026-73413  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade shescape to version 2.1.14, 3.0.1 or higher.

Overview

shescape is a simple shell escape library

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the compose in src/internal/compose.js when flagProtection is enabled. An attacker can exhaust system resources and cause service disruption by supplying a large untrusted input containing many flag fragments.

CVSS Base Scores

version 4.0
version 3.1