Skip to main content

Htmlsanitizer

3 CVEs product

Monthly

CVE-2026-116538 Oct 26, 14:59 LOW PATCH Monitor

HtmlSanitizer's SanitizeDom(string) API leaves attributes untouched on the <html> and <body> wrapper elements it parses into, so markup such as a second <body onload=alert(1)> tag can place a live event handler on the returned document. The issue affects releases before 9.2.1039 and 10.0 prereleases before 10.0.1037-beta, and only matters where the caller serializes more than dom.Body.ChildNodes - for example dom.ToHtml() or the body/html outer HTML - and where a victim then renders that output. Severity signals are low (CVSS 4.0 score 2.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N), no public exploit or CISA KEV entry is associated with the flaw at time of analysis, and the vendor has released fixed versions.

XSS Htmlsanitizer
NVD GitHub
CVSS 4.0
2.3
EPSS
0.3%
CVE-2026-25543 Feb 04, 22:16 NuGet MEDIUM PATCH This Month

Htmlsanitizer versions up to 9.0.892 is affected by improper encoding or escaping of output (CVSS 6.1).

XSS .NET Htmlsanitizer Htmlsanitizer Project
NVD GitHub
CVSS 3.1
6.1
EPSS
0.0%
CVE-2023-44390 Oct 05, 14:15 NuGet MEDIUM PATCH This Month

HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.

XSS Htmlsanitizer Htmlsanitizer Project
NVD GitHub
CVSS 3.1
6.1
EPSS
0.4%
EPSS 0% CVSS 2.3
LOW PATCH Monitor

HtmlSanitizer's SanitizeDom(string) API leaves attributes untouched on the <html> and <body> wrapper elements it parses into, so markup such as a second <body onload=alert(1)> tag can place a live event handler on the returned document. The issue affects releases before 9.2.1039 and 10.0 prereleases before 10.0.1037-beta, and only matters where the caller serializes more than dom.Body.ChildNodes - for example dom.ToHtml() or the body/html outer HTML - and where a victim then renders that output. Severity signals are low (CVSS 4.0 score 2.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N), no public exploit or CISA KEV entry is associated with the flaw at time of analysis, and the vendor has released fixed versions.

XSS Htmlsanitizer
NVD GitHub
EPSS 0% CVSS 6.1
MEDIUM PATCH This Month

Htmlsanitizer versions up to 9.0.892 is affected by improper encoding or escaping of output (CVSS 6.1).

XSS .NET Htmlsanitizer +1
NVD GitHub
EPSS 0% CVSS 6.1
MEDIUM PATCH This Month

HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.

XSS Htmlsanitizer Htmlsanitizer Project
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy