React Router: Unauthenticated denial of service via unbounded route-manifest path expansion during SSR document rendering
Published 1 Dec 2026 · Updated 1 Dec 2026
Affected packages
- Affected
- >=7.0.0 <7.18.5
- Fixed in
- 7.18.5
npm install react-router@7.18.5- Affected
- >=8.0.0 <8.5.1
- Fixed in
- 8.5.1
npm install react-router@8.5.1Which react-router does your project really install?
Works for private projects: the file is read in memory to run the scan and then dropped. Also reads yarn.lock, pnpm-lock.yaml or package.json.
Public repo?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Details
React Router applications performing server-side route discovery may consume excessive server resources when processing specially crafted requests, potentially resulting in denial of service.
Affected Modes: Framework, RSC Data (unstable), and RSC Framework (unstable).
In Framework Mode, exposure requires server-side rendering with lazy route discovery enabled. In the RSC modes, affected processing can also occur when handling RSC data requests.
Is GHSA-2rq8-3rm6-2w8f in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected react-router, and gives you the command that fixes it.
More advisories for react-router
- HighCVE-2026-139996React Router: Prototype Pollution via Vendored turbo-stream Deserializer · 1 Dec 2026
- MediumCVE-2026-139994React Router: Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes · 1 Dec 2026
- HighGHSA-qwww-vcr4-c8h2React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Response · 24 Jul 2026
- HighCVE-2026-55685React Router: Unauthenticated Denial of Service via Inefficient Route Matching · 24 Jul 2026
- MediumCVE-2026-53669React Router: Open redirect via backslash in <Link> and useNavigate (CVE-2025-68470 bypass) · 23 Jul 2026
- MediumCVE-2026-53668React Router: Open redirect leading to XSS · 23 Jul 2026
References
- Linkgithub.com/remix-run/react-router/security/advisories/GHSA-2rq8-3rm6-2w8f
- Linkgithub.com/remix-run/react-router/pull/15703
- Linkgithub.com/remix-run/react-router/pull/15704
- Linkgithub.com/remix-run/react-router/commit/393d7c13de73ad062d999b849f79cc2b3a36821c
- Linkgithub.com/remix-run/react-router/commit/707925e46113299f21c82dc1ca01b9fb66d0f53f
- Packagegithub.com/remix-run/react-router
- Linkgithub.com/remix-run/react-router/blob/main/CHANGELOG.md#v851
- Linkgithub.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7185
- Linkgithub.com/remix-run/react-router/releases/tag/react-router@7.18.5
- Linkgithub.com/remix-run/react-router/releases/tag/react-router@8.5.1
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.