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

    4 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    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