org.webjars.npm:react-router@6.30.0

  • latest version

    7.18.1

  • first published

    11 years ago

  • latest version published

    22 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:react-router package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

    Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in the deserializeErrors function during SSR hydration. An attacker can cause unexpected constructor execution on the client, potentially resulting in outbound network traffic, by supplying crafted input that overwrites certain aspects of errors caught by the SSR process.

    Note: This is only exploitable if the application is running in Framework Mode or Data Mode and performs manual SSR/hydration with code that allows attacker-controlled input to influence error deserialization.

    How to fix Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')?

    Upgrade org.webjars.npm:react-router to version 7.18.0 or higher.

    [6.4.0,7.18.0)
    • H
    Open Redirect

    Affected versions of this package are vulnerable to Open Redirect via the navigation mechanisms when attacker-supplied paths containing a backslash are processed. An attacker can redirect users to unintended external sites by crafting malicious links or inputs.

    How to fix Open Redirect?

    Upgrade org.webjars.npm:react-router to version 7.18.0 or higher.

    [6.0.0,7.18.0)
    • H
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the serialization algorithm in the PrefetchPageLinks() function. An attacker can cause a denial of service by supplying specially crafted user input that is reflected and processed during single-fetch operations.

    Note:

    Users that utilise Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) are not affected by this issue.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.webjars.npm:react-router to version 7.17.0 or higher.

    [,7.17.0)
    • H
    Open Redirect

    Affected versions of this package are vulnerable to Open Redirect when certain URLs with path values starting with // are processed. An attacker can redirect users to external domains by supplying specially crafted protocol-relative URLs.

    Note:

    Users that utilise Declarative Mode (<BrowserRouter>) are not affected by this issue.

    How to fix Open Redirect?

    Upgrade org.webjars.npm:react-router to version 7.17.0 or higher.

    [,7.17.0)
    • H
    Open Redirect

    Affected versions of this package are vulnerable to Open Redirect via the resolvePath() function when used with navigate, <Link>, or redirect. An attacker can cause the application to redirect users to external, potentially malicious URLs by supplying crafted paths.

    Note:

    This is only exploitable if untrusted content is passed into navigation paths in the application code.

    How to fix Open Redirect?

    Upgrade org.webjars.npm:react-router to version 6.30.2, 7.9.6 or higher.

    [,6.30.2)[7.0.0,7.9.6)