{"id":"CVE-2026-102529","aliases":["GHSA-464h-4j8h-q5mf"],"url":"https://o3.security/vulnerability/CVE-2026-102529","summary":"HtmlSanitizer: CSS Removal DoS","details":"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":"2026-11-17T20:41:51.531Z","modified":"2026-11-19T20:46:02.665872124Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00348,"percentile":0.29037,"asOf":"2026-11-19"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"HtmlSanitizer","fixedVersion":"9.0.967"},{"ecosystem":"NuGet","name":"HtmlSanitizer","fixedVersion":"9.1.968-beta"}],"fix":{"url":"https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5","label":"mganss/HtmlSanitizer@6198e04"},"references":[{"type":"WEB","url":"https://github.com/mganss/HtmlSanitizer/releases/tag/v9.1.973"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102529.json"},{"type":"ADVISORY","url":"https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-464h-4j8h-q5mf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102529"},{"type":"FIX","url":"https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5"},{"type":"PACKAGE","url":"https://github.com/mganss/HtmlSanitizer"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-19T20:46:02.665872124Z"}}