漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Loofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace character references
Vulnerability Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: URIs whose scheme is split or prefixed with the HTML5 named whitespace character references 	 or 
. CGI.unescapeHTML leaves those references intact, so allowed_uri? reports the URL safe even though a browser decodes and strips the tab or line feed and executes the resulting javascript: URL. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?; Loofah's default sanitize() path is not affected. This issue is fixed in version 2.25.2.
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Vulnerability Type
不完整的黑名单
Vulnerability Title
flavorjones loofah 输入验证错误漏洞
Vulnerability Description
Mike Dalessio Loofah是Mike Dalessio个人开发者开源的一款HTML文档处理组件。 flavorjones loofah 2.25.0版本至2.25.2之前版本存在输入验证错误漏洞,该漏洞源于输入验证不当,allowed_uri?未拒绝带有HTML5命名空白字符引用(	或
)的javascript: URI,可能导致浏览器执行恶意javascript代码。
CVSS Information
N/A
Vulnerability Type
N/A