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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
siyuan-note siyuan
Exploitation
Public or AI PoC available; prioritize validation
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.6.2之前版本存在代码注入漏洞,该漏洞源于特制块属性值可能绕过服务器端属性转义,导致存储型跨站脚本攻击,在Electron桌面客户端中可能进一步导致远程代码执行。

CVSS 8.6 · High EPSS 0.36% · P28
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: 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.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

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan < 3.6.2 -

II. Public POCs for CVE-2026-34585

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6774 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
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

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

Vendor Advisories for CVE-2026-34585 (1)

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

CVE-2026-34449 9.7 CRITICAL SiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection
CVE-2026-34448 9.1 CRITICAL SiYuan: Stored XSS in Attribute View gallery/kanban cover rendering allows arbitrary comma
CVE-2026-34453 7.5 HIGH SiYuan: Broken access control in /api/bookmark/getBookmark allows unauthenticated publish
CVE-2026-34605 SiYuan: 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