Skip to content

Upgrade React Router to patched v7 and cover existing app routes - #47

Merged
mptfire merged 4 commits into
mainfrom
fix/router-security-update
Oct 14, 2026
Merged

mptfire merged 4 commits into
mainfrom
fix/router-security-update

Conversation

@mptfire

@mptfire mptfire commented Oct 13, 2026

Copy link
Copy Markdown
Owner

web/package.json:28 retained React Router 6.30.4 after its Dependabot PR was closed. npm audit on main reports two moderate advisories through react-router/react-router-dom (GHSA-wrjc-x8rr-h8h6 and GHSA-337j-9hxr-rhxg); the patched range starts at 7.18.0.

Upgrade to 7.18.4, refresh the lockfile, and add ten route regression cases covering reserved pages, reset/verification tokens, local topics, external hosts with custom ports and notification query parameters. The app uses declarative BrowserRouter routes, with no data loaders, SSR hydration or relative splats; this fixes dependency exposure without claiming a demonstrated SSR exploit in this app.

Validation: npm ci, ESLint, production build and all 111 web tests pass; npm audit reports zero vulnerabilities. Requires Node >=20 and React >=18 (the existing CI uses Node 24). This PR targets main and is independent of #46.

@mptfire
mptfire merged commit ce39f18 into main Oct 14, 2026
2 checks passed
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