CVE-2026-116538 HtmlSanitizer before 9.2.1039 XSS via SanitizeDom Body and HTML Attributes
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
mganss
HtmlSanitizer
영향 받는 버전
- 9.2.1039 미만
- 10.0.0-beta 이상 10.0.1037-beta 미만
해결 버전
- 9.2.1039 이상
- 10.0.1037-beta 이상
참고 자료 9건
- github.com https://github.com/mganss/HtmlSanitizer (새 창)
- github.com https://github.com/mganss/HtmlSanitizer/blob/v9.2.995/src/HtmlSanitizer/HtmlSanitizer.cs#L456-L465 (새 창)
- github.com https://github.com/mganss/HtmlSanitizer/blob/v9.2.995/src/HtmlSanitizer/HtmlSanitizer.cs#L555-L583 (새 창)
- github.com https://github.com/mganss/HtmlSanitizer/commit/96afbc818e64de7571ea17954a05d523e819c56f (새 창)
- github.com https://github.com/mganss/HtmlSanitizer/commit/ab626e7a4f2893f7e9ec0a72779ae19c5ec439a7 (새 창)
- github.com https://github.com/mganss/HtmlSanitizer/releases/tag/v10.0.1037-beta (새 창)
- github.com https://github.com/mganss/HtmlSanitizer/releases/tag/v9.2.1039 (새 창)
- joshua.hu https://joshua.hu/htmlsanitizer-sanitizedom-body-html-attribute-bypass (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/htmlsanitizer-before-9.2.1039-xss-via-sanitizedom-body-and-html-attributes (새 창)