Repository navigation
fix:[CORECM-18657] - Bump react-router to 7.18.2 in yuno-react (GHSA-qwww-vcr4-c8h2) - #156
Merged
Merged
Conversation
CesarRios98
self-requested a review
July 30, 2026 16:21
CesarRios98
approved these changes
Jul 30, 2026
nicoprten
approved these changes
Jul 30, 2026
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.
Bumps
react-router/react-router-domfrom 7.18.1 to 7.18.2 in theyuno-reactdemo app.Refs CORECM-18657 / VULS-5385, Dependabot alert #300 (GHSA-qwww-vcr4-c8h2).
Scope
Lockfile only.
package.jsonalready declaresreact-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 unrelatedpeermetadata 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-reactis a client-only Vite SPA: its entire react-router surface iscreateBrowserRouter(4 static routes),RouterProviderandLink, with no routeaction:, no<Form>, nouseFetcher/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.0withfirstPatchedVersion: 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 noreact-router-dom8.x line at all (latest is 7.18.2; v8 dropped the-dompackage), 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 ciinstalls cleanly from the edited lockfile (integrity hashes validated by npm)react-routerresolves to 7.18.2npm run build(tsc -b && vite build) passes — 88 modules transformed, built in 750msnpm ci