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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-34585— SiYuan: Stored XSS in imported .sy.zip content leads to arbitrary command execution

CVSS 8.6 · High EPSS 0.08% · P23
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-34585

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: Stored XSS in imported .sy.zip content leads to arbitrary command execution
Source: NVD (National Vulnerability Database)
Vulnerability Description
SiYuan is a personal knowledge management system. Prior to version 3.6.2, a vulnerability allows crafted block attribute values to bypass server-side attribute escaping when an HTML entity is mixed with raw special characters. An attacker can embed a malicious IAL value inside a .sy document, package it as a .sy.zip, and have the victim import it through the normal Import -> SiYuan .sy.zip workflow. Once the note is opened, the malicious attribute breaks out of its original HTML context and injects an event handler, resulting in stored XSS. In the Electron desktop client, this XSS reaches remote code execution because injected JavaScript runs with access to Node/Electron APIs. This issue has been patched in version 3.6.2.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
SiYuan 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan开源的一个隐私至上的个人知识管理系统。 SiYuan 3.6.2之前版本存在代码注入漏洞,该漏洞源于特制块属性值可能绕过服务器端属性转义,导致存储型跨站脚本攻击,在Electron桌面客户端中可能进一步导致远程代码执行。
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

VendorProductAffected VersionsCPESubscribe
siyuan-notesiyuan < 3.6.2 -

II. Public POCs for CVE-2026-34585

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 6836 chars
Paid plan includes:
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-34585

登录查看更多情报信息。

Same Patch Batch · siyuan-note · 2026-03-31 · 5 CVEs total

CVE-2026-344499.7 CRITICALSiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection
CVE-2026-344489.1 CRITICALSiYuan: Stored XSS in Attribute View gallery/kanban cover rendering allows arbitrary comma
CVE-2026-344537.5 HIGHSiYuan: Broken access control in /api/bookmark/getBookmark allows unauthenticated publish
CVE-2026-34605SiYuan: Reflected XSS via SVG namespace prefix bypass in SanitizeSVG ( getDynamicIcon, una

IV. Related Vulnerabilities

V. Comments for CVE-2026-34585

No comments yet


Leave a comment