{"id":"CVE-2026-102529","published":"2026-11-17T20:41:51Z","modified":"2026-11-18T15:55:26Z","title":"HtmlSanitizer: CSS Removal DoS","vendor":"mganss","product":"HtmlSanitizer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.29175,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-464h-4j8h-q5mf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5","tags":["x_refsource_MISC"]},{"url":"https://github.com/mganss/HtmlSanitizer/releases/tag/v9.1.973","tags":["x_refsource_MISC"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":5.83},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"mganss","affectedVersions":[{"vendor":"mganss","product":"HtmlSanitizer","versions":["< 9.0.967",">= 9.1.878-beta, < 9.1.968-beta"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-18T15:55:13.307878Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"HtmlSanitizer","vulnerableRanges":["<9.0.967",">=9.1.878-beta, <9.1.968-beta"],"patched":["9.0.967","9.1.968-beta"],"from":["GHSA-464h-4j8h-q5mf"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-127548","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-26293","published":"2021-01-04","fixed":"5.0.372","kev":false},{"cve":"CVE-2023-44390","published":"2023-10-05","fixed":"8.1.722-beta","kev":false},{"cve":"CVE-2026-25543","published":"2026-02-04","fixed":"9.1.893-beta","kev":false,"link":{"from":"CVE-2026-25543","to":"CVE-2026-102529","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:HtmlSanitizer","fromFixed":"9.0.892","toFixed":"9.0.967","daysApart":286},{"kind":"same-code","provenance":"machine","files":["src/HtmlSanitizer/HtmlSanitizer.cs"],"commits":["https://github.com/mganss/HtmlSanitizer/commit/6198e0494f96707171bf606689949d5360f7e4c5","https://github.com/mganss/HtmlSanitizer/commit/0ac53dca30ddad963f2b243669a5066933d82b81"],"basis":"shared file"}]}},{"cve":"CVE-2026-102529","published":"2026-11-17","fixed":"9.1.968-beta","kev":false}],"package":"NuGet:HtmlSanitizer"}}