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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-407"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102529.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "9.0.967"
},
{
"introduced": "9.1.878-beta"
},
{
"fixed": "9.1.968-beta"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "9.0.967"
},
{
"fixed": "9.0.967"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "6198e0494f96707171bf606689949d5360f7e4c5"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v9.1.973",
"range": [
{
"fixed": "cb97fbf60904b8a678bc87b0b858f3963245e600"
}
],
"source": "REFERENCES_TAG"
}
]
}