sanitize-html vulnerabilities

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

Package versions

118 VERSIONS IN TOTAL
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
2.9.01 Feb, 2023
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.8.121 Dec, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.8.012 Dec, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.7.327 Oct, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.7.215 Sep, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.7.120 Jul, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.7.04 Feb, 2022
  • 0
    C
  • 0
    H
  • 2
    M
  • 0
    L
2.6.18 Dec, 2021
  • 0
    C
  • 0
    H
  • 2
    M
  • 0
    L
2.6.023 Nov, 2021
  • 0
    C
  • 0
    H
  • 2
    M
  • 0
    L
2.5.32 Nov, 2021
  • 0
    C
  • 0
    H
  • 2
    M
  • 0
    L

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

Get started free