漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
art-template - Path Traversal in Sub-Template Resolution via include()/extend()
Vulnerability Description
art-template's sub-template resolution logic (src/compile/adapter/resolve-filename.js), used by both the include and extend template directives, resolves the target file path via path.resolve(root, filename) with no check afterward that the result remains inside root.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
糖饼 art-template 路径遍历漏洞
Vulnerability Description
糖饼 art-template是糖饼个人开发者开源的一款前端模板引擎。 糖饼 art-template 4.13.4及之前版本存在路径遍历漏洞,该漏洞源于子模板解析逻辑中,path.resolve(root, filename)未检查结果是否在root目录内,且无法阻止绝对路径和../遍历序列,导致攻击者通过外部输入影响子模板名称,进而读取Node进程可访问的任意文件。
CVSS Information
N/A
Vulnerability Type
N/A