Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
SiYuan: Store XSS To Rce via Asset.render
Vulnerability Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)
Vulnerability Title
SiYuan 跨站脚本漏洞
Vulnerability Description
SiYuan是SiYuan团队开源的一个个人知识管理系统。 SiYuan 3.7.1之前版本存在跨站脚本漏洞,该漏洞源于Asset.render在app/src/asset/index.ts中将未清理的this.path值插值到分配给innerHTML的HTML中,允许包含双引号的特制asset链接突破src属性,注入事件处理程序并执行JavaScript,从而在Electron渲染进程中运行OS命令。
CVSS Information
N/A
Vulnerability Type
N/A