Skip to content

fix(security): update React Router to 7.18.2 - #726

Merged
Duvet05 merged 1 commit into
mainfrom
fix/react-router-7-18-2-security-20260803
Aug 3, 2026
Merged

Duvet05 merged 1 commit into
mainfrom
fix/react-router-7-18-2-security-20260803

Conversation

@Duvet05

@Duvet05 Duvet05 commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • update React Router and React Router DOM from 7.18.1 to the official patched 7.18.2 backport
  • align all 23 exact workspace pins, root resolutions, validator and lockfile
  • preserve the shared peer contract >=6.30.4 <8 and the existing RSC prohibition
  • document the upstream fix and the temporary mismatch in the global GitHub/npm advisory metadata

Security

Addresses GHSA-qwww-vcr4-c8h2 using the official 7.x backport:
GHSA-qwww-vcr4-c8h2
remix-run/react-router#15353

The global advisory feed still flags 7.18.2 with the incorrect range below 8.3.0. The existing exception remains narrowly scoped to pkg:npm/react-router@7.18.2 and still expires 2026-08-31; it was not broadened or extended.

Validation

  • immutable install
  • React Router contract: pass
  • contract tests: 7/7
  • tooling tests: 72/72
  • recursive security audit: no suggestions
  • yarn resolution: only react-router and react-router-dom 7.18.2
  • PostCSS 8.5.23 preserved after rebase
  • pre-rebase full gates: lint 0 errors, typecheck 177/177, build 89/89, non-styleguide tests 111/111
  • diff check clean

Scope

One commit. No workflows, application behavior or unrelated dependency upgrades from #722.


View with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is enabled.

Copilot AI review requested due to automatic review settings August 3, 2026 22:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Duvet05
Duvet05 merged commit 20f06ec into main Aug 3, 2026
10 checks passed
@Duvet05
Duvet05 deleted the fix/react-router-7-18-2-security-20260803 branch August 3, 2026 22:46
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.

2 participants