xss@0.2.6 vulnerabilities

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

  • latest version

    1.0.15

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the xss package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    xss is a package that sanitizes untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the stripCommentTag function in lib/default.js.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade xss to version 1.0.10 or higher.

    <1.0.10