Update react-router to 7.18.1 to fix DoS advisory#4335
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughThe workspace catalog and React vanilla sample update React Router dependencies from ChangesWorkspace dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
rajithacharith
force-pushed
the
pnpm-audit
branch
from
July 24, 2026 15:36
f71e754 to
519f2f4
Compare
rajithacharith
requested review from
DonOmalVindula and
brionmario
as code owners
July 24, 2026 15:36
ThaminduDilshan
approved these changes
Jul 24, 2026
rajithacharith
enabled auto-merge
July 24, 2026 15:46
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Jul 24, 2026
Merged
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.
Purpose
Fixes the
pnpm audithigh-severity finding GHSA-chx6-hx7r-mcp5: React Router unauthenticated Denial of Service via inefficient route matching, affectingreact-router>=7.0.0 <7.18.0.Approach
react-routerfrom7.15.1to7.18.1inpnpm-workspace.yaml. All console/gate apps and workspace packages consume it viacatalog:, and@thunderid/react-routertakes it as a peer dependency, so this covers all 15 workspace resolution paths.react-router-domfrom7.15.1to7.18.1insamples/apps/react-vanilla-sample, which pulled the last remaining vulnerable transitivereact-router.pnpm-lock.yaml.After the change every
react-router/react-router-domresolution is7.18.1, and the advisory no longer appears inpnpm audit.Related Issues
Related PRs
Checklist
Security checks
Summary by CodeRabbit