漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Loofah: SVG `href` attribute bypasses local-reference restriction
Vulnerability Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin external document; use may render external SVG content containing scripts or other dangerous content, and feImage may load external images for tracking. Applications that sanitize user-supplied SVG with Loofah's default allowlist are affected. This issue is fixed in version 2.25.2.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
flavorjones loofah 跨站脚本漏洞
Vulnerability Description
Mike Dalessio Loofah是Mike Dalessio个人开发者开源的一款HTML文档处理组件。 flavorjones loofah 2.25.2之前版本存在跨站脚本漏洞,该漏洞源于HTML5清理器仅对SVG use和feImage元素上的xlink:href属性应用本地引用限制,而浏览器也接受普通href属性,导致精心构造的SVG可引用外部文档,容易受到跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A