CVE-2022-31180 is a critical vulnerability in the Shescape JavaScript package, affecting versions that use the 'escape' or 'escapeAll' functions with 'interpolation: true'. This flaw allows attackers to inject shell-specific special characters or line terminators after whitespace in user input, leading to arbitrary command execution. With a CVSS score of 9.8 (CRITICAL), the vulnerability is easily exploitable over the network with no user interaction, enabling full compromise of confidentiality, integrity, and availability. While there is no evidence of active exploitation or public exploit code, the vulnerability has garnered significant community discussion, indicating awareness and potential for future exploitation.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 1.4.0, < 1.5.8CPE matchmatch criteria | cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.