Exposed Dangerous Method or Function Affecting nx package, versions >=17.0.4 <22.7.2>=23.0.0-beta.0 <23.0.0-beta.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.81% (53rd 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-NX-17660796
  • published28 Jun 2026
  • disclosed26 Jun 2026
  • creditNozomu Sasaki

Introduced: 26 Jun 2026

NewCVE-2026-54753  (opens in a new tab)
CWE-749  (opens in a new tab)

How to fix?

Upgrade nx to version 22.7.2, 23.0.0-beta.2 or higher.

Overview

nx is a The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

Affected versions of this package are vulnerable to Exposed Dangerous Method or Function via the local HTTP server's permissive CORS policy, which sends Access-Control-Allow-Origin: * on every response. An attacker can access sensitive information, such as the full project graph and the output of the /help endpoint, by enticing a developer to visit a malicious website that makes cross-origin requests to the local server. In rare cases, this can also lead to arbitrary command execution if the /help endpoint is abused.

CVSS Base Scores

version 4.0
version 3.1