Is react-router 8.1 vulnerable?
npm · 1 release from 8.1.0 to 8.1.0 · latest react-router is 8.5.1 · checked 1 Nov 2026
Yes: 1 known advisory
Yes. react-router 8.1.0, the last 8.1 release, is affected by 1 known security advisory (1 high). Upgrade to 8.3.0 or later to fix all of them.
Upgrade with:
npm install react-router@8.3.0Advisories affecting react-router 8.1.0
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 8.1?
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.