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.
History

Sat, 31 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 26 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Mganss
Mganss htmlsanitizer
Vendors & Products Mganss
Mganss htmlsanitizer

Mon, 26 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title HtmlSanitizer before 9.2.1039 XSS via SanitizeDom Body and HTML Attributes
First Time appeared Htmlsanitizer Project
Htmlsanitizer Project htmlsanitizer
Weaknesses CWE-79
CPEs cpe:2.3:a:htmlsanitizer_project:htmlsanitizer:*:*:*:*:*:*:*:*
Vendors & Products Htmlsanitizer Project
Htmlsanitizer Project htmlsanitizer
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-10-26T14:59:38.815Z

Updated: 2026-10-31T01:25:48.693Z

Reserved: 2026-10-26T14:30:56.846Z

Link: CVE-2026-116538

cve-icon Vulnrichment

Updated: 2026-10-31T01:25:44.318Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-26T16:17:19.030

Modified: 2026-10-31T02:17:32.557

Link: CVE-2026-116538

cve-icon Redhat

No data.