org.webjars.npm:react-router@7.17.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
    • 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.webjars.npm:react-router to version 7.18.0 or higher.

    [7.11.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.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
    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.webjars.npm:react-router to version 7.18.0 or higher.

    [7.0.0,7.18.0)
    • 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.webjars.npm:react-router to version 7.18.2, 8.3.0 or higher.

    [7.12.0,7.18.2)[8.0.0-pre.0,8.3.0)