CVE-2026-102529 — Vulnerability in HtmlSanitizer — CVE Details
HtmlSanitizer: CSS Removal DoS
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.60%). Schedule for your next planned update.
Does your project use an affected HtmlSanitizer version?
Paste your packages.lock.json to check it for CVE-2026-102529 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Advisory Timeline
- First published November 19, 2026 (7 days ago).
- Last revised November 19, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package HtmlSanitizer --version 9.0.967
dotnet add package HtmlSanitizer --version 9.1.968-beta
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| HtmlSanitizer NuGet · Affected: 1.0.4925.29815, 1.0.4927.30873, 1.1.5243.28448, 1.1.5297.28403 (+117 more) | 9.0.967 |
| HtmlSanitizer NuGet · Affected: All versions | 9.1.968-beta |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-407
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-464h-4j8h-q5mfWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102529ADVISORY
- https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5WEB
- https://github.com/mganss/HtmlSanitizerPACKAGE
- https://github.com/mganss/HtmlSanitizer/releases/tag/v9.1.973WEB
Frequently Asked Questions
- What is CVE-2026-102529?
- HtmlSanitizer: CSS Removal DoS. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-102529?
- CVE-2026-102529 affects HtmlSanitizer. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-102529 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 42.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-59975HIGH
SharpIppNext: Unbounded IPP Document Stream Buffering Leads to Denial of Service
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
- CVE-2023-44390MEDIUM
HtmlSanitizer vulnerable to Cross-site Scripting in Foreign Content
- CVE-2026-25543MEDIUM
HtmlSanitizer has a bypass via template tag