Seven React Router vulnerabilities disclosed; affected projects should upgrade
Brief
Seven vulnerabilities affect React Router 6, 7 and 8, though Netlify says most have limited impact on its platform. Sites using React Router should check installed packages, upgrade and redeploy.
Who is affected
- Projects using React Router directly or through frameworks such as Remix 2 or Shopify Hydrogen may be affected.
- React Router 6 has no patched 6.x release for two vulnerabilities; Remix 2 apps need to move to React Router 7.
What to do
- Check installed package versions, including copies brought in by frameworks, then update to patched releases. The article lists React Router 7.18.5 or later and 8.5.1 or later, with some related 7.x packages requiring 7.18.6 or later.
- Commit the updated package files and lockfile, then deploy. Review older deploys, which may continue running vulnerable code, and delete affected deploys where needed.
- Check that IS_RR_BUILD_REQUEST is not set as a site or team environment variable.
Generated by AI from the original article. Check the source for full details.