CVE-2026-25543
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.
Published:Feb 4, 2026
Last Modified:Apr 17, 2026
EPS:Feb 4, 2026
EPSS Score:0.00017
CVSS Score:6.1
Affected Products
Vendor
Product
Action
Vendor
Htmlsanitizer Project
Product
Htmlsanitizer
Htmlsanitizer Project
Htmlsanitizer
Vendor
Mganss
Product
Htmlsanitizer
Mganss
Htmlsanitizer
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
