Description
Shescape is a simple shell escape library for JavaScript. Prior to 2.1.10, Shescape#escape() does not escape square-bracket glob syntax for Bash, BusyBox sh, and Dash. Applications that interpolate the return value directly into a shell command string can cause an attacker-controlled value like secret[12] to expand into multiple filesystem matches instead of a single literal argument, turning one argument into multiple trusted-pathname matches. This vulnerability is fixed in 2.1.10.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-9jfh-9xrq-4vwm
Scores
CVSS v3
6.5
EPSS
0.0006
EPSS Percentile
17.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-200
Status
published
Products (1)
shescape_project/shescape
< 2.1.10
Published
Mar 11, 2026
Tracked Since
Mar 12, 2026