๐Ÿ” CVE Alert

CVE-2026-102529

HIGH 7.5

HtmlSanitizer: CSS Removal DoS

CVSS Score
7.5
EPSS Score
0.6%
EPSS Percentile
49th

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.

CWE CWE-407
Vendor mganss
Product htmlsanitizer
Published Nov 17, 2026
Last Updated Nov 18, 2026
Stay Ahead of the Next One

Get instant alerts for mganss htmlsanitizer

Be the first to know when new high vulnerabilities affecting mganss htmlsanitizer are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

mganss / HtmlSanitizer
< 9.0.967 >= 9.1.878-beta, < 9.1.968-beta

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-464h-4j8h-q5mf github.com: https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5 github.com: https://github.com/mganss/HtmlSanitizer/releases/tag/v9.1.973