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

Goal: 1000 CNY · Raised: 1336 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)在 v3.7.4 版本之前存在一个跨站脚本(XSS)漏洞,该漏洞出现在文件树选择器的悬停提示(hover-tooltip)生成逻辑中(位于 文件的 和 方法内),此功能被“移动/链接到”路径选择对话框所使用。在该逻辑中,文档的元数据字段(包括书签、别名、备注和备用名称字段)会被直接拼接并赋值给 HTML 的 属性,且未进行适当的转义处理。 如果在上述任一字段中构造包含双引号(")的恶意文档内容,即可突破当前 HTML 属性的上下文限制,从而注入任意的 HTML 属性,包括内联事件处理程序(例

CVSS 8.6 · High EPSS 0.16% · P6

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

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