Is react-router 7.18 vulnerable?
npm · 6 releases from 7.18.0 to 7.18.5 · latest react-router is 8.5.1 · checked 1 Nov 2026
No known advisories in the last release
react-router 7.18.5, the last 7.18 release, has no known advisories. 1 advisory affects earlier 7.18.x releases, so update to 7.18.5.
Update within 7.18:
npm install react-router@7.18.5Fixed within 7.18.x, affecting earlier releases
React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Response
- Affected
- >=7.12.0 <7.18.2 · >=8.0.0 <8.3.0
- Fixed in
- 7.18.2, 8.3.0
Which of your client projects are still on react-router 7.18?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact react-router version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other react-router versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.