CVE-2026-25543

MEDIUM CVSS 4.0: 6.3 EPSS 0.27%
Updated Feb 05, 2026
HtmlSanitizer
Parameter Value
CVSS 6.3 (MEDIUM)
Type CWE-116 (Improper Encoding or Escaping of Output)
Vendor HtmlSanitizer
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0