CVE-2026-102529
published high CVSS 3.1 · 7.5HtmlSanitizer: CSS Removal DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mganss | — | HtmlSanitizer< 9.0.967 · >= 9.1.878-beta, < 9.1.968-beta | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mganss | HtmlSanitizer | < 9.0.967 (affected)>= 9.1.878-beta, < 9.1.968-beta (affected) | GitHub_M · cna |
Weaknesses
1- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
3Provider assertions
2GitHub_M · cna
HtmlSanitizer: CSS Removal DoS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 95b5935b309df04ed0276852bb81b8352cd47ca696a2aee000d8977f9cae41b6
- Ingested
- 18 Nov 2026, 15:59:56 UTC
- Source record
- Official CVE record