CVE-2026-102529

GHSA-464h-4j8h-q5mf · published 17 Nov 2026 · updated 19 Nov 2026

HtmlSanitizer: CSS Removal DoS

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in HtmlSanitizer 9.0.967 and HtmlSanitizer 9.1.968-beta.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mganss<9.0.967, >=9.1.878-beta <9.1.968-beta
nuget: HtmlSanitizer<9.0.967, >=9.1.878-beta <9.1.968-beta9.0.967, 9.1.968-beta

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-102529 severity on Zeptric[![CVE-2026-102529](https://zeptric.io/badge/cve/CVE-2026-102529.svg)](https://zeptric.io/cve/CVE-2026-102529)