漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
SiYuan: Stored XSS to RCE via attribute-view cell rendering in genAVValueHTML()
Vulnerability Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the attribute-view (database) cell renderer genAVValueHTML interpolates cell content raw in four of its branches: text, url, phone, and mAsset. A cell value like </textarea><img src=x onerror="..."> or "><img src=x onerror="..."> breaks out of its surrounding tag and runs arbitrary JavaScript in the renderer when the victim opens the block-attribute panel. On Electron desktop the renderer runs with nodeIntegration:true, so the XSS chains to host RCE via require('child_process'). AV files live under the workspace and ride normal sync, so an attacker with write access to any synced workspace plants the payload once and it fires on every device that opens a panel containing that row.he kernel doesn't escape on the way in either, so the malicious cell persists byte-for-byte. There's no equivalent of the html.EscapeAttrVal call that protects block IAL attributes at kernel/model/blockial.go:261. This vulnerability is fixed in 3.7.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
siyuan-note SiYuan 配置错误漏洞
Vulnerability Description
SiYuan是SiYuan团队的一款文档管理与企业应用软件。 siyuan-note SiYuan 3.7.0之前版本存在配置错误漏洞,该漏洞源于属性视图(数据库)单元格渲染器genAVValueHTML在text、url、phone和mAsset四个分支中直接插入单元格原始内容,可能导致跨站脚本攻击,并进一步在Electron桌面环境中链式导致远程代码执行。
CVSS Information
N/A
Vulnerability Type
N/A