xss@0.1.16 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

    13 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.

    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
    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