Skip to content

fix:[CORECM-18657] - Bump react-router to 7.18.2 in yuno-react (GHSA-qwww-vcr4-c8h2) - #155

Closed
ivanjtm wants to merge 1 commit into
mainfrom
chore/corecm-18657-react-router-7.18.2
Closed

ivanjtm wants to merge 1 commit into
mainfrom
chore/corecm-18657-react-router-7.18.2

Conversation

@ivanjtm

@ivanjtm ivanjtm commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Bumps react-router / react-router-dom from 7.18.1 to 7.18.2 in the yuno-react demo app.

Refs CORECM-18657 / VULS-5385, Dependabot alert #300 (GHSA-qwww-vcr4-c8h2).

Scope

Lockfile only. package.json already declares react-router-dom: ^7.15.1, which 7.18.2 satisfies, so no manifest change is needed. Edited surgically rather than regenerating the lockfile, to avoid unrelated peer metadata churn from a different npm version.

Impact assessment

This does not fix an exploitable issue here. GHSA-qwww-vcr4-c8h2 is a CSRF bypass in the unstable RSC code paths, and the advisory states it only affects applications using the unstable RSC APIs. yuno-react is a client-only Vite SPA: its entire react-router surface is createBrowserRouter (4 static routes), RouterProvider and Link, with no route action:, no <Form>, no useFetcher/useSubmit, and no server rendering. SecOps triaged VULS-5385 to the same conclusion: EXISTENT | UNREACHABLE | NOT EXPLOITABLE — Risk: NONE.

This is taken as free hygiene: 7.18.2 is a single patch release ("Harden RSC CSRF codepaths", remix-run/react-router#15353) with an identical dependency and peer-dependency set to 7.18.1.

Note on the Dependabot alert

Alert #300 will not auto-close from this bump. The advisory still declares vulnerableVersionRange: >= 7.12.0, < 8.3.0 with firstPatchedVersion: 8.3.0, and has not been updated with the 7.x backport, so 7.18.2 remains inside the flagged range. There is also no react-router-dom 8.x line at all (latest is 7.18.2; v8 dropped the -dom package), so reaching 8.3.0 would mean a major migration of the demo. Closing the alert therefore needs a manual dismissal as "vulnerable code is not actually used".

Verification

  • npm ci installs cleanly from the edited lockfile (integrity hashes validated by npm)
  • Installed react-router resolves to 7.18.2
  • npm run build (tsc -b && vite build) passes — 88 modules transformed, built in 750ms
  • No lockfile drift after npm ci

@cursor

cursor Bot commented Jul 30, 2026

Copy link
Copy Markdown

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

@ivanjtm ivanjtm closed this Jul 30, 2026
@ivanjtm
ivanjtm deleted the chore/corecm-18657-react-router-7.18.2 branch July 30, 2026 16:18
@ivanjtm ivanjtm changed the title chore(yuno-react): bump react-router to 7.18.2 (GHSA-qwww-vcr4-c8h2) fix:[CORECM-18657] - Bump react-router to 7.18.2 in yuno-react (GHSA-qwww-vcr4-c8h2) Jul 30, 2026
@ivanjtm

ivanjtm commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #156 (branch renamed to match repo convention fix/CORECM-…). No content change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant