chore(deps): update dependency nx to v22 [security] - #260
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 3, 2026 21:33
65a2f57 to
5199620
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 3, 2026 21:56
5199620 to
8137d0d
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 02:53
8137d0d to
c9d2df1
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 09:11
c9d2df1 to
4527448
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 09:13
4527448 to
b3d4403
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 09:18
b3d4403 to
73912c6
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 09:30
73912c6 to
c577430
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 10:16
c577430 to
8693bfd
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 11:31
8693bfd to
968fe6c
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 11:35
968fe6c to
f99c891
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 14:15
f99c891 to
3d21acd
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 17:03
3d21acd to
7ab61ab
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 18:37
7ab61ab to
9ab6717
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 18:47
9ab6717 to
93216e7
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 4, 2026 18:48
93216e7 to
d10ef5a
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 8, 2026 22:25
da49013 to
3b001d0
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 8, 2026 22:26
3b001d0 to
f60250a
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 9, 2026 13:05
f60250a to
31ee981
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 9, 2026 14:39
31ee981 to
a797d7d
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 10, 2026 16:51
a797d7d to
9b4407e
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 11, 2026 00:45
9b4407e to
374bb5d
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 11, 2026 13:46
374bb5d to
99dc28d
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 11, 2026 20:15
99dc28d to
7fa3873
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 14, 2026 15:49
7fa3873 to
cd0aa7b
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 14, 2026 19:37
cd0aa7b to
825f3f7
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 15, 2026 17:01
825f3f7 to
66a0483
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 16, 2026 00:53
66a0483 to
174aac9
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 16, 2026 13:10
174aac9 to
e436e70
Compare
renovate
Bot
force-pushed
the
renovate/npm-nx-vulnerability
branch
from
September 17, 2026 01:14
e436e70 to
9a2bda9
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^19.8.4→^22.7.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
nx graphdev server permissive CORS policyCVE-2026-54753 / GHSA-g2r8-wvmj-jf5w
More information
Details
Summary
The local HTTP server started by
nx graphsentAccess-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/helpendpoint, 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.Severity
Exploitation requires the developer to be running
nx graphand to visit an attacker page. Any execution beyond benign help commands also requires a malicious target to already be present in the workspace (see Details).Affected & Patched Versions
Package:
nx(npm).>= 17.0.4, < 22.7.2and>= 23.0.0-beta.0, < 23.0.0-beta.222.7.2+ (backport) and23.0.0(first in23.0.0-beta.2)The wildcard CORS header was introduced in
17.0.4; the/helpexecution endpoint in19.4.0. The21.xline is not patched —21.xusers should upgrade to22.7.2or later.Details
nx graphstarts a local server (defaulthttp://127.0.0.1:4211). Before the fix, its request handler set a wildcard CORS header on every response:The
/helpendpoint runs a target's configured command:A
GET /helpis a CORS "simple request", so a malicious page couldfetch()it with no preflight, and the wildcard header let the page read the result. This exposes the project graph (project names, file paths, dependencies, build configuration) and the output of any configured help command.The command is not attacker-controlled through the request — it comes from the workspace's project configuration, and first-party plugins (jest, vite, cypress) populate it with benign, read-only help commands. For
/helpto run anything malicious, a target carrying a malicioushelp.commandmust already exist in the project graph, which can only be introduced by installing a malicious package or by altering the workspace's own code/configuration — both of which already grant code execution independent of this flaw.The fix (#35494) removes the header; the browser's same-origin policy then blocks cross-origin reads.
References
/help)Credits
Thanks to Nozomu Sasaki (Paul) (@morimori-dev) for finding and responsibly reporting this issue.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
nrwl/nx (nx)
v22.7.2Compare Source
22.7.2 (2026-05-14)
🚀 Features
🩹 Fixes
nx mcpto run outside of an Nx workspace (#35655)❤️ Thank You
v22.7.1Compare Source
22.7.1 (2026-04-28)
🩹 Fixes
❤️ Thank You
v22.7.0Compare Source
22.7.0 (2026-04-24)
🚀 Features
🩹 Fixes
❤️ Thank You
v22.6.5Compare Source
22.6.5 (2026-04-10)
🚀 Features
🩹 Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.