org.mvnpm:react-router@7.14.2

  • latest version

    8.5.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    28 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm: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
    Cross-site Request Forgery (CSRF)

    Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the unstable RSC APIs. An attacker can execute unauthorized actions by tricking a user into submitting crafted requests.

    Note: This is only exploitable if the unstable RSC APIs are enabled in the application.

    How to fix Cross-site Request Forgery (CSRF)?

    Upgrade org.mvnpm:react-router to version 7.18.2, 8.3.0 or higher.

    [7.12.0,7.18.2)[8.0.0,8.3.0)
    • H
    Inefficient Algorithmic Complexity

    Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity through inefficient route matching in the manifest endpoint. An attacker can cause excessive server load and degrade response times by sending unauthenticated targeted requests.

    Note: This is only exploitable if the application is running in Framework Mode.

    How to fix Inefficient Algorithmic Complexity?

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

    [7.0.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.mvnpm:react-router to version 7.18.0 or higher.

    [6.3.0,7.18.0)
    • 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.mvnpm:react-router to version 7.18.0 or higher.

    [6.15.0,7.18.0)
    • H
    Cross-site Scripting (XSS)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the RSCErrorHandler when redirect targets from untrusted sources are not properly validated. An attacker can execute arbitrary scripts in the context of the application by supplying a crafted redirect target.

    Note: This is only exploitable if the unstable RSC APIs are used.

    How to fix Cross-site Scripting (XSS)?

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

    [7.12.0,7.18.0)
    • L
    Cross-site Request Forgery (CSRF)

    Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to insufficient CSRF checks for PUT, PATCH, and DELETE document requests. An attacker can cause unauthorized state changes by tricking a user into submitting crafted requests from another origin.

    Note:

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

    How to fix Cross-site Request Forgery (CSRF)?

    Upgrade org.mvnpm:react-router to version 7.15.1 or higher.

    [7.12.0,7.15.1)
    • H
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the __manifest endpoint. An attacker can exhaust server resources and cause service disruption by sending specially crafted requests that trigger unbounded path expansion.

    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.mvnpm:react-router to version 7.15.0 or higher.

    [7.0.0,7.15.0)