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.
References
Configurations
No configuration.
History
17 Nov 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-17 21:17
Updated : 2026-11-18 16:17
NVD link : CVE-2026-102529
Mitre link : CVE-2026-102529
CVE.ORG link : CVE-2026-102529
JSON object : View
Products Affected
No product.
CWE
CWE-407
Inefficient Algorithmic Complexity
