Skip to content
Threat Brief

← All advisories

CVE-2026-102529

High 7.5No known exploitationFix available

HtmlSanitizer: CSS Removal DoS

Vendor advisory: GHSA-464h-4j8h-q5mf

Record last updated

CVSS score

7.5

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 29% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Prior to 9.0.967 and 9.1.968-beta, HtmlSanitizer CSS style-declaration sanitization can process an attacker-controlled style attribute with quadratic cost because SanitizeStyleDeclaration repeatedly causes the complete declaration to be serialized while removing disallowed CSS properties. One unauthenticated request can occupy a synchronous application worker for seconds, and concurrent requests can saturate all workers and sustain denial of service. This issue is fixed in versions 9.0.967 and 9.1.968-beta.

Weakness: CWE-407

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
mganssHtmlSanitizer< 9.0.967Not documentedCVE Program
mganssHtmlSanitizer>= 9.1.878-beta, < 9.1.968-betaNot documentedCVE Program
nugetHtmlSanitizerfrom 9.1.878-beta before 9.1.968-beta9.1.968-betaGitHub Advisory Database
nugetHtmlSanitizerall versions before 9.0.9679.0.967GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references