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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-59855— SiYuan: Store XSS To Rce via Asset.render

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.1之前版本存在跨站脚本漏洞,该漏洞源于Asset.render在app/src/asset/index.ts中将未清理的this.path值插值到分配给innerHTML的HTML中,允许包含双引号的特制asset链接突破src属性,注入事件处理程序并执行JavaScript,从而在Electron渲染进程中运行OS命令。

AI Predicted 8.0 Difficulty: Easy EPSS 0.39% · P33

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-59855

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: Store XSS To Rce via Asset.render
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
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
Source: CVE Program / CVE List V5
Vulnerability Type
Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
SiYuan 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan团队开源的一个个人知识管理系统。 SiYuan 3.7.1之前版本存在跨站脚本漏洞,该漏洞源于Asset.render在app/src/asset/index.ts中将未清理的this.path值插值到分配给innerHTML的HTML中,允许包含双引号的特制asset链接突破src属性,注入事件处理程序并执行JavaScript,从而在Electron渲染进程中运行OS命令。
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 < 3.7.1 -

II. Public POCs for CVE-2026-59855

# 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-59855

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

Patches & Fixes for CVE-2026-59855 (1)

Vendor Advisories for CVE-2026-59855 (1)

Vendor Pages for CVE-2026-59855 (1)

Same Patch Batch · siyuan-note · 2026-07-09 · 6 CVEs total

CVE-2026-59832 7.7 HIGH SiYuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks co
CVE-2026-59834 7.5 HIGH SiYuan: SQL Query in Block Search Exposes Hidden Published Document Content
CVE-2026-59853 6.5 MEDIUM SiYuan: Publish-mode Reader can exfiltrate private saved-search Criteria via /api/storage/
CVE-2026-59854 4.9 MEDIUM SiYuan: Incomplete IsSensitivePath denylist: globalCopyFiles reads home-dir credential dot
CVE-2026-59833 SiYuan: Stored XSS to RCE in SiYuan via a per-attribute URL-scheme sanitizer gap in Lute (

IV. Related Vulnerabilities