HIGH · CVSS 3.1 7.5 EPSS 0.6% · 43th percentile CWE-407

CVE-2026-102529: HtmlSanitizer: CSS Removal DoS

Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-464h-4j8h-q5mf

Summary

A denial of service vulnerability in HtmlSanitizer allows unauthenticated attackers to cause high CPU consumption via CSS removal processing. All engineering teams and maintainers using vulnerable versions of the HtmlSanitizer package should update immediately.

Who is affected

Affected deployments of applications using vulnerable HtmlSanitizer versions are susceptible to unauthenticated remote denial of service attacks. Concurrent requests can consume all synchronous application workers by exploiting CPU cost during CSS removal, requiring no user interaction.

Exploitability

The vulnerability is network-exploitable with low attack complexity requiring no privileges or user interaction, resulting in high availability impact (CVSS 7.5). The EPSS score is 0.003 and CISA Known Exploited Vulnerabilities status is no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
NuGet HtmlSanitizer >= 0, < 9.0.967 9.0.967 dotnet add package HtmlSanitizer --version 9.0.967
NuGet HtmlSanitizer >= 9.1.878-beta, < 9.1.968-beta 9.1.968-beta dotnet add package HtmlSanitizer --version 9.1.968-beta

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

FAQ

What causes the Denial of Service in HtmlSanitizer?

The denial of service is caused by high CPU consumption during CSS removal processing when handling unauthenticated requests.

Are user interactions required to exploit this vulnerability?

No, user interaction is not required as unauthenticated requests can directly trigger the issue.

What are the fixed versions for this vulnerability?

The fixed versions are 9.0.967 and 9.1.968-beta.

Original advisory description
### 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.

References

Source records: GHSA-464h-4j8h-q5mf (OSV.dev) · EPSS by FIRST, 2026-11-26.