Back to CVE records
Medium 4.7Published Oct 26, 2026

CVE-2026-116538HtmlSanitizer before 9.2.1039 XSS via SanitizeDom Body and HTML Attributes

Updated under an hour ago ()

Does this affect you?

It affects mganss HtmlSanitizer. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
4.7 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
VulnCheck
NVD analysis
Awaiting Analysis
Record last updated
Oct 26, 2026
First seen by InfoSec Signals
Oct 26, 2026

Affected products

Affected products
mganss HtmlSanitizer
mganss:htmlsanitizer (from the name)
before 9.2.1039; from 10.0.0-beta before 10.0.1037-beta
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .