p PatchFirst

CVE-2026-54753

CVE-2026-54753 · Nx: `nx graph` dev server permissive CORS policy

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Nx is a monorepo solution for TypeScript and polyglot codebases. From 17.0.4 until 22.7.2 and 23.0.0-beta.2, the local HTTP server started by nx graph sent Access-Control-Allow-Origin: * on every response, letting any website a developer visited read the server's responses cross-origin — including the full project graph and the output of the /help endpoint, which runs a target's configured help command. The practical impact is typically cross-origin information disclosure, but can be arbitrary command injection in rare cases. This vulnerability is fixed in 22.7.2 and 23.0.0-beta.2.

CVSS 5.9 · Medium · EPSS 1.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • nx

    Versions
    • >= 17.0.4, < 22.7.2: Affected
    • >= 23.0.0-beta.0, < 23.0.0-beta.2: Affected

    No fix published

  • nx npm

    Affected ranges
    • SEMVER: ≥ 17.0.4, < 22.7.2

    Update to 22.7.2

  • nx npm

    Affected ranges
    • SEMVER: ≥ 23.0.0-beta.0, < 23.0.0-beta.2

    Update to 23.0.0-beta.2

Original sources

Check your server →