A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /mganss/HtmlSanitizer
- github.com /mganss/HtmlSanitizer/blob/v9.2.995/src/HtmlSanitizer/HtmlS…
- github.com /mganss/HtmlSanitizer/blob/v9.2.995/src/HtmlSanitizer/HtmlS…
- github.com /mganss/HtmlSanitizer/commit/96afbc818e64de7571ea17954a05d5…
- github.com /mganss/HtmlSanitizer/commit/ab626e7a4f2893f7e9ec0a72779ae1…
- github.com /mganss/HtmlSanitizer/releases/tag/v10.0.1037-beta
- github.com /mganss/HtmlSanitizer/releases/tag/v9.2.1039
- joshua.hu /htmlsanitizer-sanitizedom-body-html-attribute-bypass
- www.vulncheck.com /advisories/htmlsanitizer-before-9.2.1039-xss-via-sanitized…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning