CVE 6.3 MEDIUM

HtmlSanitizer has a bypass via template tag_CVE-2026-25543

6.3 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

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.

Basic Information

ID CVE-2026-25543
Source GitHub_M
Published Feb 4, 2026 at 21:45

Affected Product

Vendor mganss
Product HtmlSanitizer
Version < 9.0.892
Affected Versions mganss HtmlSanitizer < 9.0.892
mganss HtmlSanitizer < 9.1.893-beta

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.