CVE-2026-34585 — SiYuan Desktop: Stored XSS in...
SiYuan Desktop: Stored XSS in imported .sy.zip content leads to arbitrary command execution
Summary
Advisory Timeline
- First published April 1, 2026 (194 days ago).
- Last revised June 25, 2026 — 86 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260329142331-918d1bd9f967
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/siyuan-note/siyuan/kernel | go | All versions | 0.0.0-20260329142331-918d1bd9f967 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-ff66-236v-p4fgWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34585ADVISORY
- https://github.com/siyuan-note/siyuan/issues/17246WEB
- https://github.com/siyuan-note/siyuan/commit/918d1bd9f967d888f474f6764744a3d8cca4a501WEB
- https://github.com/siyuan-note/siyuanPACKAGE
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2WEB
Frequently Asked Questions
- What is CVE-2026-34585?
- SiYuan Desktop: Stored XSS in imported .sy.zip content leads to arbitrary command execution This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-34585?
- CVE-2026-34585 affects github.com/siyuan-note/siyuan/kernel. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34585 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-33669CRITICAL
SiYuan has Arbitrary Document Reading within the Publishing Service
- CVE-2026-50551CRITICAL
SiYuan: Stored XSS to RCE via Unsanitized Attribute View Asset Cell Content
- CVE-2026-54158CRITICAL
SiYuan: Stored XSS to RCE via attribute-view cell rendering in genAVValueHTML()
- CVE-2026-29183CRITICAL
SiYuan: Unauthenticated Reflected XSS via SVG Injection in /api/icon/getDynamicIcon Endpoint
- CVE-2026-72794HIGH
SiYuan: The session-cookie signing key (Conf.CookieKey) is returned to anonymous readers by /api/system/getConf
- CVE-2026-68586HIGH
SiYuan: Cross-boundary content disclosure via getBacklinkDoc/getBackmentionDoc (publish mode): reader-reachable rendered DOM of publish-forbidden docs; sibling list endpoints are filtered
- CVE-2026-32110HIGH
SiYuan has a Full-Read SSRF via /api/network/forwardProxy
- CVE-2026-31807MEDIUM
SiYuan has a SVG Sanitizer Bypass via `<animate>` Element — Unauthenticated XSS
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies