org.webjars.npm:react-router@4.0.0-alpha.3

  • latest version

    7.18.1

  • first published

    11 years ago

  • latest version published

    1 months 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
    • 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)