npmWorst: High20 advisories
react-router: known vulnerabilities
react-router has 20 reviewed security advisories in the GitHub Advisory Database — 11 high, 8 moderate, 1 low. The most recent was published 2026-07-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the react-router versions running across your servers, containers and images, and ranks what to patch first.
How to fix react-router
Upgrade react-router to a release at or above the fixed version shown for each advisory below. For npm:
npm install react-router@7.13.0 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (20)
React Router: Open redirect leading to XSS
Moderate 6.9 CWE-601 CWE-79
— Affected: from 7.9.6 up to 7.13.0. Fixed in 7.13.0. Published 2026-07-27. GHSA-jjmj-jmhj-qwj2 · CVE-2026-53668
React Router: Unauthenticated Denial of Service via Inefficient Route Matching
High CWE-400 CWE-407
— Affected: from 7.0.0 up to 7.18.0. Fixed in 7.18.0. Published 2026-07-24. GHSA-chx6-hx7r-mcp5 · CVE-2026-55685
React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Response
High CWE-352
— Affected: from 8.0.0 up to 8.3.0. Fixed in 8.3.0. Published 2026-07-24. GHSA-qwww-vcr4-c8h2
React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration
Moderate 6.1 CWE-470
— Affected: from 6.4.0 up to 7.18.0. Fixed in 7.18.0. Published 2026-07-23. GHSA-337j-9hxr-rhxg · CVE-2026-53666
React Router: RSCErrorHandler Missing Protocol Validation (XSS)
Moderate 6.9 CWE-79
— Affected: from 7.11.0 up to 7.18.0. Fixed in 7.18.0. Published 2026-07-23. GHSA-h8fp-f39c-q6mh · CVE-2026-53667
React Router: Open redirect via backslash in <Link> and useNavigate (CVE-2025-68470 bypass)
Moderate CWE-601
— Affected: from 6.0.0 up to 7.18.0. Fixed in 7.18.0. Published 2026-07-23. GHSA-wrjc-x8rr-h8h6 · CVE-2026-53669
React Router: Potential CSRF via PUT/PATCH/DELETE document requests
Low 3.1 CWE-352
— Affected: from 7.12.0 up to 7.15.1. Fixed in 7.15.1. Published 2026-06-15. GHSA-84g9-w2xq-vcv6 · CVE-2026-53663
React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
Moderate CWE-601
— Affected: from 6.7.0 up to 6.30.4. Fixed in 6.30.4. Published 2026-06-02. GHSA-2j2x-hqr9-3h42 · CVE-2026-40181
React Router's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_ERROR deserialization leading to Unauth RCE
High 8.1 CWE-502
— Affected: from 7.0.0 up to 7.14.2. Fixed in 7.14.2. Published 2026-06-02. GHSA-49rj-9fvp-4h2h · CVE-2026-42211
React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets
High 8.0 CWE-79
— Affected: from 7.7.0 up to 7.13.2. Fixed in 7.13.2. Published 2026-06-02. GHSA-8646-j5j9-6r62 · CVE-2026-33245
React Router vulnerable to DoS via unbounded path expansion in __manifest endpoint
High 7.5 CWE-400
— Affected: from 7.0.0 up to 7.15.0. Fixed in 7.15.0. Published 2026-06-02. GHSA-8x6r-g9mw-2r78 · CVE-2026-42342
React Router has stored XSS via unescaped Location header in prerendered redirect HTML
Moderate 5.4 CWE-79
— Affected: from 7.5.1 up to 7.13.2. Fixed in 7.13.2. Published 2026-06-02. GHSA-f22v-gfqf-p8f3 · CVE-2026-33244
React Router vulnerable to Denial of Service via reflected user input in single-fetch
High 7.5 CWE-770
— Affected: from 7.0.0 up to 7.14.0. Fixed in 7.14.0. Published 2026-06-02. GHSA-rxv8-25v2-qmq8 · CVE-2026-34077
React Router vulnerable to XSS via Open Redirects
High 8.0 CWE-79
— Affected: from 7.0.0 up to 7.12.0. Fixed in 7.12.0. Published 2026-01-10. GHSA-2w69-qvjg-hvjx · CVE-2026-22029
React Router has XSS Vulnerability
High 7.6 CWE-79
— Affected: from 7.0.0 up to 7.9.0. Fixed in 7.9.0. Published 2026-01-10. GHSA-3cgp-3xvw-98x8 · CVE-2025-59057
React Router SSR XSS in ScrollRestoration
High 8.2 CWE-79
— Affected: from 7.0.0 up to 7.12.0. Fixed in 7.12.0. Published 2026-01-10. GHSA-8v8x-cx79-35w7 · CVE-2026-21884
React Router has unexpected external redirect via untrusted paths
Moderate 6.5 CWE-601
— Affected: from 7.0.0 up to 7.9.6. Fixed in 7.9.6. Published 2026-01-10. GHSA-9jcx-v3wj-wh4m · CVE-2025-68470
React Router has CSRF issue in Action/Server Action Request Processing
Moderate 6.5 CWE-346 CWE-352
— Affected: from 7.0.0 up to 7.12.0. Fixed in 7.12.0. Published 2026-01-10. GHSA-h5cw-625j-3rxh · CVE-2026-22030
React Router allows pre-render data spoofing on React-Router framework mode
High 8.2 CWE-345
— Affected: from 7.0.0-pre.0 up to 7.5.2. Fixed in 7.5.2. Published 2025-04-25. GHSA-cpj6-fhp6-mr6j · CVE-2025-43865
React Router allows a DoS via cache poisoning by forcing SPA mode
High 7.5 CWE-755
— Affected: from 7.2.0 up to 7.5.2. Fixed in 7.5.2. Published 2025-04-25. GHSA-f46r-rw29-r322 · CVE-2025-43864
Find react-router across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.