org.webjars.npm:unhead@1.0.14

  • latest version

    2.1.10

  • first published

    3 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm: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
    • M
    Incomplete List of Disallowed Inputs

    org.webjars.npm:unhead is a Full-stack manager built for any framework.

    Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs in the hasDangerousProtocol() function though the usage of HtmlEntityHex and HtmlEntityDec RegExp. An attacker can inject malicious URIs into the document head by crafting input with leading-zero padded HTML entities that bypass protocol checks, resulting in the browser interpreting blocked URI schemes.

    How to fix Incomplete List of Disallowed Inputs?

    A fix was pushed into the master branch but not yet published.

    [0,)
    • M
    Cross-site Scripting (XSS)

    org.webjars.npm:unhead is a Full-stack manager built for any framework.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the acceptDataAttrs function, which allows attribute names containing spaces or illegal characters to be injected into SSR-rendered HTML tags. An attacker can execute arbitrary JavaScript in the context of the affected application by supplying specially crafted attribute names that include event handlers, leading to script execution when the manipulated HTML is rendered.

    How to fix Cross-site Scripting (XSS)?

    A fix was pushed into the master branch but not yet published.

    [0,)