Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-30222 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

Shescape is a simple shell escape library for JavaScript. Versions 1.7.2 through 2.1.1 are vulnerable to potential environment variable exposure on Windows with CMD. This impact users of Shescape on Windows that explicitly configure `shell: 'cmd.exe'` or `shell: true` using any of `quote`/`quoteAll`/`escape`/`escapeAll`. An attacker may be able to get read-only access to environment variables. This bug has been patched in v2.1.2. For those who are already using v2 of Shescape, no further changes are required. Those who are are using v1 of Shescape should follow the migration guide to upgrade to v2. There is no plan to release a patch compatible with v1 of Shescape. As a workaround, users can remove all instances of `%` from user input before using Shescape.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-200Exposure of Sensitive Information to an Unauthorized Actor[email protected]

Affected Products

ProductVersions
ericcornelissen shescape
>= 1.7.2, <= 2.1.1 (semver)

CPE

  • cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*

Remediation

  • Upgrade: 2.1.2moderate effort
  • Workaround:low effort

    Remove all instances of '%' from user input before using Shescape.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-30222
NVD Published Date:
Mar 25, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2025-30222 Details - Not Deferred