Use of Incorrectly-Resolved Name or Reference Affecting zx package, versions <8.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-ZX-14089787
  • published21 Nov 2025
  • disclosed20 Nov 2025
  • creditAli Firas

Introduced: 20 Nov 2025

NewCVE-2025-13437  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

Upgrade zx to version 8.1.1 or higher.

Overview

zx is an A tool for writing better scripts

Affected versions of this package are vulnerable to Use of Incorrectly-Resolved Name or Reference via the linkNodeModules function. An attacker can cause deletion of arbitrary directories by supplying a crafted path to the --prefer-local parameter, leading to unintended removal of external node_modules directories outside the current working directory.

CVSS Base Scores

version 4.0
version 3.1