Search/CVE-2022-31179
● CVE — High

CVE-2022-31179

Vendorshescape projectProductshescapeDiscoveredAug 1, 2022UpdatedNov 21, 2024

Shescape is a simple shell escape package for JavaScript. Versions prior to 1.5.8 were found to be subject to code injection on windows. This impacts users that use Shescape (any API function) to escape arguments for cmd.exe on Windows An attacker can omit all arguments following their input by including a line feed character ('\n') in the payload. This bug has been patched in [v1.5.8] which you can upgrade to now. No further changes are required. Alternatively, line feed characters ('\n') can be stripped out manually or the user input can be made the last argument (this only limits the impact).

CVSS v3.1
8.1 HIGH
EPSS
1.42%
probability of exploitation in 30 days
CISA KEV
Not listed
no confirmed exploitation reported
News coverage
0
sources referencing this CVE
Related IOCs
0
seen in the same coverage
EPSS Trend
Aug 16, 2026 → Oct 22, 2026
▲ 0.10pp
1.32% → 1.42% over 4 tracked changes
CVSS v3.1 Detail
Attack VectorNETWORK
Attack ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
ScopeCHANGED
ConfidentialityLOW
IntegrityLOW
AvailabilityHIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H
Connections
2 relationships
Timeline
disclosure → media coverage
Aug 1, 2022
Disclosure — published as a CVE record. · last revised by NVD Nov 21, 2024