Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-75917— SiYuan before v3.7.4 XSS-to-RCE via pathName.ts

Quick assessment

Affected
siyuan-note siyuan
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SiYuan是SiYuan团队开源的一款文档管理软件。 SiYuan 3.7.4之前版本存在跨站脚本漏洞,该漏洞源于文件树选择器的悬停提示生成过程(app/src/util/pathName.ts, getLeaf()/movePathTo())中,文档元数据字段(bookmark、alias、memo和alternate name)未转义即拼接至aria-label HTML属性,攻击者可通过双引号注入任意HTML属性,当受害者将鼠标悬停在恶意文档条目上时,可能导致任意操作系统命令执行。

CVSS 8.6 · High EPSS 0.22% · P12

Affected Version Matrix 2

VendorProduct Version RangeStatus
siyuan-note siyuan < 3.7.4 affected
3.7.4 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-75917

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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 before v3.7.4 XSS-to-RCE via pathName.ts
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file-tree picker's hover-tooltip generation (app/src/util/pathName.ts, getLeaf()/movePathTo()) used by the 'move/link to' path-selection dialogs, where document metadata fields (bookmark, alias, memo, and an alternate name field) are concatenated into the aria-label HTML attribute without escaping. A document crafted with a double quote in any of these fields breaks out of the attribute context and injects arbitrary HTML attributes including inline event handlers (e.g., onmouseover). Because every SiYuan Electron BrowserWindow runs with nodeIntegration:true, contextIsolation:false, and no CSP, the injected handler gains require('child_process') access, escalating the XSS to arbitrary OS command execution when a victim merely hovers over the malicious document entry in the path-picker dialog. Malicious documents reach victims via sharing, sync, or import.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
SiYuan 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan团队开源的一款文档管理软件。 SiYuan 3.7.4之前版本存在跨站脚本漏洞,该漏洞源于文件树选择器的悬停提示生成过程(app/src/util/pathName.ts, getLeaf()/movePathTo())中,文档元数据字段(bookmark、alias、memo和alternate name)未转义即拼接至aria-label HTML属性,攻击者可通过双引号注入任意HTML属性,当受害者将鼠标悬停在恶意文档条目上时,可能导致任意操作系统命令执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan 0 ~ 3.7.4 -

II. Public POCs for CVE-2026-75917

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-75917

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-75917 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-75917

No comments yet


Leave a comment