{"id":"CVE-2026-54753","published":"2026-06-26T18:13:34Z","modified":"2026-06-26T19:09:33Z","title":"Nx: `nx graph` dev server permissive CORS policy","vendor":"nrwl","product":"nx","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01442,"percentile":0.7388,"provenance":"source"},"cwes":[{"id":"CWE-749","name":"Exposed Dangerous Method or Function"},{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"}],"references":[{"url":"https://github.com/nrwl/nx/security/advisories/GHSA-g2r8-wvmj-jf5w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nrwl/nx/pull/35494","tags":["x_refsource_MISC"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":14.78},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"nrwl","affectedVersions":[{"vendor":"nrwl","product":"nx","versions":[">= 17.0.4, < 22.7.2",">= 23.0.0-beta.0, < 23.0.0-beta.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-26T19:09:19.972525Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nx","vulnerableRanges":[">=17.0.4, <22.7.2",">=23.0.0-beta.0, <23.0.0-beta.2"],"patched":["22.7.2","23.0.0-beta.2"],"from":["GHSA-g2r8-wvmj-jf5w"],"provenance":"source"}],"summary":{"text":"The nx graph local dev server, part of the Nx monorepo build tool, sent a wildcard Access-Control-Allow-Origin header on every response in versions from 17.0.4 up to 22.7.2 and 23.0.0-beta.2, so it exposed its responses to any website. An attacker could exploit this by luring a developer running the server to a malicious page (user interaction required), which could then read the project graph and /help output cross-origin, typically disclosing information, and in rare cases could lead to command injection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:43:10Z"},"euvd":{"id":"EUVD-2026-39831","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-54753","published":"2026-06-26","fixed":"23.0.0-beta.2","kev":false},{"cve":"CVE-2026-71476","published":"2026-08-06","fixed":"23.0.2","kev":false,"link":{"from":"CVE-2026-54753","to":"CVE-2026-71476","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nx","fromFixed":"22.7.2","toFixed":"22.7.7","daysApart":41}]}},{"cve":"CVE-2026-104854","published":"2026-10-02","fixed":"23.1.2","kev":false},{"cve":"CVE-2026-104853","published":"2026-10-02","fixed":"23.2.1","kev":false}],"package":"npm:nx"}}