CVE-2026-116538
2.3low
HtmlSanitizer before 9.2.1039 XSS via SanitizeDom Body and HTML Attributes
- Severity
- 2.3low CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HtmlSanitizer | before 9.2.1039, from 10.0.0-beta before 10.0.1037-beta | CVE List |
All scores
| VulnCheck | 2.3low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 4.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-116538 changed 2026-10-31 | CVE Terms of Use |
| NVD | CVE-2026-116538 changed 2026-10-31 | Public domain |