@cosmos.gl/graph@2.2.1 vulnerabilities

GPU-based force graph layout and rendering

  • latest version

    2.5.0

  • latest non vulnerable version

  • first published

    5 months ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @cosmos.gl/graph 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 Scripting (XSS)

    @cosmos.gl/graph is a GPU-based force graph layout and rendering

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to writing a user-controllable HTML string directly to the DOM without sanitization. An attacker can execute arbitrary JavaScript code in a victim's browser by injecting a malicious payload.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @cosmos.gl/graph to version 2.3.0 or higher.

    <2.3.0