漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
ip-address: XSS in Address6 HTML-emitting methods
Vulnerability Description
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Prior to 10.1.1, Address6.group() and Address6.link() do not HTML-escape attacker-controlled content before embedding it in the HTML strings they return, and AddressError.parseMessage (emitted by the Address6 constructor for invalid input) can contain unescaped attacker-controlled content in one branch. An application that (1) passes untrusted input to Address6 and (2) renders the output of these methods, or the thrown error's parseMessage, as HTML (e.g. via innerHTML) is vulnerable to cross-site scripting. This vulnerability is fixed in 10.1.1.
CVSS Information
N/A
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
ip-address 跨站脚本漏洞
Vulnerability Description
ip-address是Beau Gunderson个人开发者的一个用于验证和操作IPv4及IPv6地址的JavaScript库。 ip-address 10.1.1之前版本存在跨站脚本漏洞,该漏洞源于Address6.group和Address6.link方法在嵌入HTML字符串前未对攻击者控制的内容进行HTML转义,且AddressError.parseMessage在无效输入时可能包含未转义的攻击者控制内容,可能导致跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A