Skip to content
OpenAdvisories

Package · npm

react-router

20 known vulnerabilities.

8 results · Clear filters · Feed

  • Medium 5.1

    React Router: Open redirect via backslash in <Link> and useNavigate (CVE-2025-68470 bypass)

    React Router is a router for React. Versions 6.0.0 through 7.17.0 are vulnerable to Open Redirtect through use of backslashes in <Link> and useNavigate. This issue is a follow up to CVE-2025-68470 and has been fixed in version 7.18.0.

  • Medium 6.9

    React Router: Open redirect can lead to XSS

    React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that …

  • Medium 6.9

    React Router: Cross-site Scripting is Possible due to Missing RSCErrorHandler Protocol Validation (Incomplete fix for CVE-2026-53667)

    React Router is a router for React. In versions 7.11.0 through 7.17.0, the RSCErrorHandler is missing protocol validation, allowing for redirects from untrusted sources. This issue is a follow up to CVE-2026-53667, and only affects consuming applications if t…

  • Medium 6.1

    React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration

    React Router is a router for React. In versions 6.4.0 through 7.17.0, if application code was written in a way that allows attacker-supplied input to overwrite certain aspects of errors caught by the SSR process, then it was possible for an attacker to trigge…

  • Medium 6.6

    React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation

    React Router is a router for React. In versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3, certain URLs passed to the redirect function can trigger an open redirect to an external domain due to path values starting with // being reinterpreted as protocol-…

  • Medium 5.4

    React Router has stored XSS via unescaped Location header in prerendered redirect HTML

    React Router is a router for React. In versions 7.5.1 through 7.13.1, when using Framework Mode with pre-rendering enabled, improper neutralization of the HTTP `Location` header value can permit Cross-Site Scripting (XSS) in the statically generated HTML file…

  • Medium 6.5

    React Router has CSRF issue in Action/Server Action Request Processing

    React Router is a router for React. In @remix-run/server-runtime version prior to 2.17.3. and react-router 7.0.0 through 7.11.0, React Router (or Remix v2) is vulnerable to CSRF attacks on document POST requests to UI routes when using server-side route actio…

  • Medium 6.5

    React Router has unexpected external redirect via untrusted paths

    React Router is a router for React. In versions 6.0.0 through 6.30.1 and 7.0.0 through 7.9.5, an attacker-supplied path can be crafted so that when a React Router application navigates to it via navigate(), <Link>, or redirect(), the app performs a navigation…