Cross-Site Scripting Vulnerability in HtmlSanitizer by mganss
CVE-2026-116538
2.3LOW
What is CVE-2026-116538?
HtmlSanitizer prior to version 9.2.1039 and 10.0 prereleases before 10.0.1037-beta is susceptible to cross-site scripting due to inadequate sanitization of attributes in html and body wrapper elements. This vulnerability allows attackers to inject malicious input, potentially executing scripts when the application renders the serialized document or body outer HTML. This security flaw emphasizes the importance of upgrading to secure versions to mitigate risks.
Affected Version(s)
HtmlSanitizer 0 < 9.2.1039
HtmlSanitizer 10.0.0-beta < 10.0.1037-beta
