Skip to main content
.NETFramework4.6.2net8.0.NETStandard2.0

Cleans HTML from constructs that can be used for cross-site scripting (XSS)

Published
Apr 21, 2025
1y ago
Total Downloads
134.4M
134,441,333

Known Vulnerabilities (1)

Install

dotnet add package HtmlSanitizer --version 9.1.885-beta
ProductVersions
.NET
net8.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

README

Changes from Previous Version

v9.1.882-betav9.1.885-beta
Removed Dependencies
System.ValueTuple(.NETStandard2.0)

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.Published vulnerability advisories exist for this version. Read the advisory and choose a remediated version before release.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.