CVE Database
/

CVE-2026-25543

Back to search

CVE-2026-25543

Published: Feb 4, 2026

Modified: Feb 5, 2026

PUBLISHED

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.

VendorProductVersions

mganss

HtmlSanitizer

affected
< 9.0.892
affected
< 9.1.893-beta

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now