漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons
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: or vbscript: URIs whose scheme is split by semicolon-less numeric character references such as :, 	, 
, or 
. CGI.unescapeHTML leaves these references encoded, so allowed_uri? reports the URL safe even though a browser decodes an encoded colon or strips encoded whitespace and executes the resulting URI scheme. 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
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Mike Dalessio Loofah 输入验证错误漏洞
Vulnerability Description
Mike Dalessio Loofah是Mike Dalessio个人开发者开源的一款HTML文档处理组件。 Mike Dalessio Loofah 2.25.0版本至2.25.2之前版本存在安全漏洞,该漏洞源于Loofah::HTML5::Scrub.allowed_uri?对URI校验不充分,未能拒绝方案被数字字符引用分割的javascript:或vbscript: URI,可能导致跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A