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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
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
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-10-26T14:59:38.815Z
Reserved: 2026-10-26T14:30:56.846Z
Link: CVE-2026-116538
No data.
Status : Received
Published: 2026-10-26T16:17:19.030
Modified: 2026-10-26T16:17:19.030
Link: CVE-2026-116538
No data.
OpenCVE Enrichment
Updated: 2026-10-26T16:30:11Z
Weaknesses