CVE-2026-102529
High 7.5No known exploitationFix availableHtmlSanitizer: CSS Removal DoS
Vendor advisory: GHSA-464h-4j8h-q5mf
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 29% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
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
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| mganss | HtmlSanitizer | < 9.0.967 | Not documented | CVE Program |
| mganss | HtmlSanitizer | >= 9.1.878-beta, < 9.1.968-beta | Not documented | CVE Program |
| nuget | HtmlSanitizer | from 9.1.878-beta before 9.1.968-beta | 9.1.968-beta | GitHub Advisory Database |
| nuget | HtmlSanitizer | all versions before 9.0.967 | 9.0.967 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-464h-4j8h-q5mf (opens in a new tab)github-advisory
- https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5 (opens in a new tab)x_refsource_misc
- https://github.com/mganss/HtmlSanitizer/releases/tag/v9.1.973 (opens in a new tab)x_refsource_misc
- https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-464h-4j8h-q5mf (opens in a new tab)x_refsource_confirm