漏洞标题
html-sanitizer由于Unicode规范化的原因,在净化后允许存在任意HTML
漏洞描述信息
html-sanitizer是一个基于白名单的HTML清理器。如果使用`keep_typographic_whitespace=False`(这是默认值),清理器会在最后将Unicode规范化为NFKC形式。一些Unicode字符在规范化后会变为反向引号;这使得特别构造的HTML能够逃脱清理。这个问题已经在2.4.2版本中得到了修复。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
html-sanitizer allows arbitrary HTML present after sanitization because of unicode normalization
漏洞描述信息
html-sanitizer is an allowlist-based HTML cleaner. If using `keep_typographic_whitespace=False` (which is the default), the sanitizer normalizes unicode to the NFKC form at the end. Some unicode characters normalize to chevrons; this allows specially crafted HTML to escape sanitization. The problem has been fixed in 2.4.2.
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
HTML sanitizer 安全漏洞
漏洞描述信息
HTML sanitizer是Matthias Kestenholz个人开发者的一个基于 allowlist 的 HTML 清理程序。 HTML sanitizer存在安全漏洞,该漏洞源于特制的 HTML 能够逃避清理。
CVSS信息
N/A
漏洞类别
其他