漏洞标题
N/A
漏洞描述信息
包 dom-iterator 的所有版本都存在任意代码执行漏洞,原因是使用 Function 构造函数时没有进行完整的输入验证。Function 会生成一个新的函数体,因此必须确保传递给 Function 的输入不会受到攻击者的控制。该漏洞的风险与允许攻击者控制的输入到达 eval 类似。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞类别
对生成代码的控制不恰当(代码注入)
漏洞标题
N/A
漏洞描述信息
Versions of the package dom-iterator before 1.0.1 are vulnerable to Arbitrary Code Execution due to use of the Function constructor without complete input sanitization. Function generates a new function body and thus care must be given to ensure that the inputs to Function are not attacker-controlled. The risks involved are similar to that of allowing attacker-controlled input to reach eval.
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
漏洞类别
对生成代码的控制不恰当(代码注入)
漏洞标题
npm dom-iterator 安全漏洞
漏洞描述信息
npm dom-iterator是美国npm公司的一个功能丰富、经过充分测试的迭代器,用于遍历 DOM 节点。 npm dom-iterator存在安全漏洞,该漏洞源于使用了未完全过滤输入的 Function 构造函数。
CVSS信息
N/A
漏洞类别
其他