sanitize-html vulnerabilities

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

  • latest version

    2.17.0

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    5 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the sanitize-html 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

    Package versions

    118 VERSIONS IN TOTAL See all versions
    versionpublisheddirect vulnerabilities
    2.17.014 May, 2025
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    2.16.016 Apr, 2025
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    2.15.019 Mar, 2025
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    2.14.018 Dec, 2024
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    2.13.13 Oct, 2024
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    2.13.020 Mar, 2024
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    2.12.122 Feb, 2024
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    2.12.021 Feb, 2024
    • 0
      C
    • 0
      H
    • 1
      M
    • 0
      L
    2.11.021 Jun, 2023
    • 0
      C
    • 0
      H
    • 1
      M
    • 0
      L
    2.10.017 Feb, 2023
    • 0
      C
    • 0
      H
    • 1
      M
    • 0
      L