CISA list

● NuGet package

HtmlSanitizer

HtmlSanitizer has four security advisories. The newest release any of them names as the fix is 9.1.968-beta, a pre-release.

As of , HtmlSanitizer has four security advisories. The newest release any of them names as the fix is 9.1.968-beta, a pre-release.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 9.1.878-beta before 9.1.968-beta9.1.968-beta2 advisories
Before 9.0.9679.0.9674 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-102529GHSA-464h-4j8h-q5mfHtmlSanitizer: CSS Removal DoSHigh severityFrom 9.1.878-beta before 9.1.968-beta; Before 9.0.9679.0.967, 9.1.968-beta
CVE-2026-25543GHSA-j92c-7v7g-gj3fHtmlSanitizer has a bypass via template tagModerate severityFrom 9.1.878-beta before 9.1.893-beta; Before 9.0.8929.0.892, 9.1.893-beta
CVE-2023-44390GHSA-43cp-6p3q-2pc4HtmlSanitizer vulnerable to Cross-site Scripting in Foreign ContentModerate severityFrom 8.1.0-beta before 8.1.722-beta; Before 8.0.7238.0.723, 8.1.722-beta
CVE-2020-26293GHSA-8j9v-h2vp-2hhvXSS in HtmlSanitizerLow severityBefore 5.0.3725.0.372

Other NuGet packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0