Skip to content

fix(deps): update react-router-dom to 7.18.1; clear npm audit#110

Merged
miquelmatoses merged 1 commit into
mainfrom
fix/react-router-advisory
Jul 5, 2026
Merged

fix(deps): update react-router-dom to 7.18.1; clear npm audit#110
miquelmatoses merged 1 commit into
mainfrom
fix/react-router-advisory

Conversation

@miquelmatoses

Copy link
Copy Markdown
Collaborator

What

  • npm update react-router-dom: 7.14.0 -> 7.18.1 (in-range, v7 stays).
  • npm audit fix (no --force): resolves the remaining dev/build-time advisories (vite, vitest, postcss, esbuild, js-yaml, ws, @babel/core). No major bumps; package.json is untouched (lockfile-only change). puppeteer-core deliberately left on 24.x (25 is a major, out of scope).

Why

react-router-dom 7.14.0 carried four advisories, headlined by GHSA-49rj-9fvp-4h2h (RCE-class via vendored turbo-stream). Applicability analysis for this pure client-side SPA (no SSR, no framework mode): the RCE, __manifest DoS and CSRF advisories target framework-mode server features and do not apply (HIGH confidence); the // open redirect would need navigation to attacker-controlled paths, which the app does not do (MEDIUM confidence). The update is still the cheapest way to close them all.

Verification

  • npm audit: 0 vulnerabilities (was 9, incl. 1 critical dev-time).
  • npx vitest run: 248/248 passed.
  • npm run build: clean, 1.08s, chunk sizes unchanged.

🤖 Generated with Claude Code

…-time advisories

react-router-dom 7.14.0 carried four advisories (GHSA-49rj-9fvp-4h2h
turbo-stream RCE, open redirect, DoS, CSRF). None apply to this pure
client-side SPA (no SSR, no framework mode), but the update is free.
npm audit fix also resolved dev/build-time advisories in vite, vitest,
postcss, esbuild, js-yaml, ws and @babel/core. No major version jumps;
package.json ranges unchanged, puppeteer-core stays on 24.x.

npm audit: 0 vulnerabilities. Tests 248/248, build clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@miquelmatoses miquelmatoses merged commit 3f34d9d into main Jul 5, 2026
7 checks passed
@miquelmatoses miquelmatoses deleted the fix/react-router-advisory branch July 5, 2026 11:05
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