# CVE-2026-102529: HtmlSanitizer: CSS Removal DoS

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-11-17T20:41:51.531Z
- Modified: 2026-11-19T21:00:04.601Z
- Also known as: GHSA-464h-4j8h-q5mf
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mganss HtmlSanitizer: < 9.0.967; >= 9.1.878-beta, < 9.1.968-beta
- HtmlSanitizer (NuGet): before 9.0.967; from 9.1.878-beta before 9.1.968-beta

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `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-q5mf> (web)
- <https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5> (web)
- <https://github.com/mganss/HtmlSanitizer/releases/tag/v9.1.973> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102529> (advisory)
- <https://github.com/mganss/HtmlSanitizer> (package)

## Sources

- CVE List: [CVE-2026-102529](https://www.cve.org/CVERecord?id=CVE-2026-102529), CVE Terms of Use, modified 2026-11-18
- GitHub Advisory Database: [GHSA-464h-4j8h-q5mf](https://github.com/advisories/GHSA-464h-4j8h-q5mf), CC-BY-4.0, modified 2026-11-19
- NVD: [CVE-2026-102529](https://nvd.nist.gov/vuln/detail/CVE-2026-102529), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-102529 · Whole record: https://cve.day/CVE-2026-102529.json · Rebuilt by cve.day 2026-11-25T22:59:51.087Z
