CVE-2026-102529
HIGH 7.5CVSS 3.1HtmlSanitizer: CSS Removal DoS
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.
- Published
- 17 Nov 2026
- Last modified
- 19 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-407
- Also known as
- GHSA-464h-4j8h-q5mf
- Sources
- NVDJSONOSV GHSA-464h-4j8h-q5mfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | HtmlSanitizer | < 9.0.967 | 9.0.967 |
| OSV | NuGet | HtmlSanitizer | >= 9.1.878-beta, < 9.1.968-beta | 9.1.968-beta |
References
- https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5 · WEB
- https://github.com/mganss/HtmlSanitizer/releases/tag/v9.1.973 · WEB
- https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-464h-4j8h-q5mf · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102529 · ADVISORY
- https://github.com/mganss/HtmlSanitizer · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 17 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2026)