Skip to content
8.1 High

CVE-2026-42211 React Router is a router for React

Description

React Router is a router for React. In versions 7.0.0 through 7.14.1, when using Framework Mode, a combination of steps could potentially allow unauthorized remote code execution (RCE) through external requests. This attack requires the application code to have an existing prototype pollution vulnerability, which can then be leveraged in a 2-step attack where the second step triggers unauthorized RCE on the remote server. This does not impact applications using Declarative Mode (`<BrowserRouter>`) or Data Mode (`createBrowserRouter/<RouterProvider>`). This is patched in version 7.14.2.

Affected products and versions

Product Affected versions Fixed in
react-router 7.0 7.0.0 → < 7.14.2 7.14.2

References

Timeline

  1. Published
  2. Last modified
The 21 CVEs of react-router →
Track this CVE