漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip
Vulnerability Description
MapLibre GL JS is an interactive vector tile map library for web browsers. Prior to 6.4.1, DOM.sanitize() in src/util/dom.ts iterates elem.attributes as a live NamedNodeMap while removeAttributes() removes attributes from the same collection, shifting indexes and skipping an adjacent dangerous attribute. An attacker who controls untrusted third-party style attribution strings or user-supplied custom attributions can supply consecutive dangerous attributes, causing an attribute such as onload or ontoggle to survive sanitization and execute when the attribution control inserts the content into innerHTML. A victim must render the affected map content for the script to execute. This issue is fixed in version 6.4.1.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
MapLibre GL JS 跨站脚本漏洞
Vulnerability Description
MapLibre GL JS是MapLibre组织的一个基于WebGL的地图渲染库。 MapLibre GL JS 6.4.1之前版本存在跨站脚本漏洞,该漏洞源于src/util/dom.ts中的DOM.sanitize()在移除属性时遍历活动NamedNodeMap,导致索引偏移并跳过相邻的危险属性,容易受到跨站脚本攻击。攻击者可借助不受信任的第三方样式归属字符串或自定义归属提供连续的危险属性,使onload、ontoggle等属性绕过清理并在归因控件插入innerHTML时执行。
CVSS Information
N/A
Vulnerability Type
N/A