Skip to main content

CVE-2026-102529 — Vulnerability in HtmlSanitizer — CVE Details

HIGH

HtmlSanitizer: CSS Removal DoS

Published November 19, 2026Updated November 19, 2026Source: OSV

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.

Check my packages.lock.json

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.

NuGet
Update HtmlSanitizer to 9.0.967 or later
dotnet add package HtmlSanitizer --version 9.0.967
NuGet
Update HtmlSanitizer to 9.1.968-beta or later
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).

PackageFixed 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 versions9.1.968-beta

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

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

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.60%
EPSS percentile: 42.7

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

GHSA-464h-4j8h-q5mf

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json