CVE-2026-116538
Description
HtmlSanitizer before 9.2.1039 and 10.0 prereleases before 10.0.1037-beta contains a cross-site scripting vulnerability because SanitizeDom(string) never sanitizes attributes on the html and body wrapper elements. Attackers can supply input with a second body or html tag carrying event handlers like onload, executing script when applications render serialized document or body outer HTML.
How to fix
- mganss HtmlSanitizer9.2.1039, 10.0.1037-beta or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mganss HtmlSanitizer | v < 9.2.1039, 10.0.0-beta ≤ v < 10.0.1037-beta | 9.2.1039, 10.0.1037-beta |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.