Loading...
Skip to main content
NuGet (.NET)

HtmlSanitizer Known Vulnerabilities & Fixes

HtmlSanitizer has 2 known security vulnerabilities in NuGet (.NET). Upgrade to version 9.1.893-beta or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

2 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 9.1.893-beta

Upgrading to 9.1.893-beta or later resolves all 2 known vulnerabilities in HtmlSanitizer. Run: dotnet add package HtmlSanitizer --version 9.1.893-beta

Is HtmlSanitizer in your project?

Check if you're affected and upgrade to 9.1.893-beta to stay secure.

2
Total
0
Critical
0
High
2
Medium
0
Low

Security Summary

  • 4 affected version ranges have been identified across these 2 advisories.
  • 100% of known issues have a published fixed version.
  • Remediation: dotnet add package HtmlSanitizer

Vulnerabilities

2 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Oct 4, 2023, most recently Feb 3, 2026 (853 days apart).

CVE / GHSASeverityAffectedFixed In
CVE-2023-44390
HtmlSanitizer vulnerable to Cross-site Scripting in Foreign Content
MEDIUM
1.0.4925.29815, 1.0.4927.30873, 1.1.5243.28448, 1.1.5297.28403 (+93 more)8.0.723, 8.1.722-beta
CVE-2026-25543
HtmlSanitizer has a bypass via template tag
MEDIUM
1.0.4925.29815, 1.0.4927.30873, 1.1.5243.28448, 1.1.5297.28403 (+116 more)9.0.892, 9.1.893-beta

About This Data

Vulnerability data for HtmlSanitizer is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related NuGet (.NET) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of HtmlSanitizer.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed