Summary
SiYuan, from version 3.3.0 and before 3.8.10, contains a stored cross-site scripting vulnerability in the Gallery and Kanban AttributeView renderers. In the Electron desktop client with nodeIntegration enabled, it can result in execution of host operating system commands.
What happened
The vulnerability (CWE-79) stems from checkbox column names not being escaped in the Gallery and Kanban AttributeView renderers, which allows HTML injection. According to the description, an attacker can share a crafted .sy.zip document; when it is rendered in the Electron desktop client with nodeIntegration enabled, Node.js and host operating system commands are executed.
Why it matters
The CVSS 4.0 score is 9.4 (critical severity), assigned by CNA:VulnCheck, with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H. The vector indicates passive user interaction is required and high impact on confidentiality, integrity and availability. According to CISA's KEV catalog, no active exploitation is recorded; the source also does not state any evidence that this was a zero-day.
Affected products and versions
siyuan (siyuan-note): versions >= 3.3.0 and < 3.8.10. Version 3.8.10 is listed as unaffected.
| Product | Versions | Fixed in |
|---|---|---|
| siyuan-note siyuan | >= 3.3.0, < 3.8.10 | — |
| siyuan-note siyuan | 3.8.10 | 3.8.10 |
Action recommended by the source
The source lists 3.8.10 as the fixed version. The vendor advisory is available at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g275-mf26-qx9r. The source does not state any other mitigations.
Fixed in: 3.8.10
Sources and references
Weaknesses (CWE): CWE-79
Relevant change history
Published
Advisory published.