> CVE-2025-30222

« BACK_TO_HOME
PUBLISHED
2025-03-25 23:15
MODIFIED
2025-03-27 16:45
EPSS (Prob. Exploit)
0.19%
Top 91.5%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-04 OSV 🔗 2026-03-01

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> GITHUB SECURITY ADVISORY

GHSA-66pp-5p9w-q87j LOW

Shescape has potential environment variable exposure on Windows with CMD

AFFECTED PACKAGES:
NPM / shescape
>= 1.7.2, < 2.1.2
Fixed in: 2.1.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Shescape has potential environment variable exposure on Windows with CMD

AFFECTED PACKAGES:
Unknown / Unknown
8 versions affected
ALIASES:
GHSA-66pp-5p9w-q87j

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/03/2025 23:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:01
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME