← Vulnerabilities

HighAdvisory.NET / C#

HtmlSanitizer: CSS Removal DoS

Affected

PackageAffected versionsFixed in
nuget:HtmlSanitizer< 9.0.9679.0.967
nuget:HtmlSanitizer>= 9.1.878-beta, < 9.1.968-beta9.1.968-beta

An unauthenticated request can occupy one synchronous application worker for seconds. Concurrent requests add CPU cost and can keep all workers busy, sustaining denial of service without user interaction. Patches The issue has been patched in versions 9.0.967 and 9.1.968-beta. Workarounds Disallow the style attribute.

Read on GitHub Advisory Database

On 11/20/2026, 05:49 AM, GitHub Advisory Database published "HtmlSanitizer: CSS Removal DoS" (type: Advisory). Severity is "High" (high). Related technologies: .NET / C#. CVE: CVE-2026-102529.