sanitize-html

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

Package versions

128 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
1.21.017 Jan, 2020
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.20.125 Apr, 2019
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.20.017 Dec, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.19.35 Dec, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.19.23 Dec, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.19.128 Sep, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.19.012 Sep, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.18.55 Sep, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.18.42 Aug, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.18.31 Aug, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.18.220 Feb, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.18.120 Feb, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.18.020 Feb, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.17.015 Jan, 2018
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.16.312 Dec, 2017
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.16.212 Dec, 2017
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.16.121 Nov, 2017
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.16.021 Nov, 2017
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.15.030 Oct, 2017
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L
1.14.330 Oct, 2017
  • 0
    C
  • 0
    H
  • 12
    M
  • 0
    L

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

Get started free