CVE-2026-25543

MEDIUM

Nuget Htmlsanitizer < 9.0.892 - XSS

Title source: rule

Description

HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Prior to versions 9.0.892 and 9.1.893-beta, if the template tag is allowed, its contents are not sanitized. The template tag is a special tag that does not usually render its contents, unless the shadowrootmode attribute is set to open or closed. This issue has been patched in versions 9.0.892 and 9.1.893-beta.

Scores

CVSS v3 6.1
EPSS 0.0004
EPSS Percentile 13.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE
CWE-116 CWE-79
Status published

Affected Products (2)

nuget/HtmlSanitizer < 9.0.892NuGet
htmlsanitizer_project/htmlsanitizer < 9.0.892

Timeline

Published Feb 04, 2026
Tracked Since Feb 18, 2026