• latest version

    3.0.4

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the unhead 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
    • L
    Cross-site Scripting (XSS)

    unhead is a Full-stack manager built for any framework.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the streamKey configuration parameter on the streaming server-side. An attacker can execute arbitrary JavaScript code in the context of the rendered page by injecting a specially crafted value into the streamKey parameter, which is then embedded directly into inline scripts without proper validation or escaping.

    Note: This is only exploitable if untrusted input is explicitly routed into the streamKey configuration parameter by the application.

    How to fix Cross-site Scripting (XSS)?

    Upgrade unhead to version 3.0.1 or higher.

    >=3.0.0-beta.5 <3.0.1