CVE-2026-34448 SiYuan: Stored XSS in Attribute View gallery/kanban cover rendering allows arbitrary command execution in the desktop client
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
SiYuan is a personal knowledge management system. Prior to version 3.6.2, an attacker who can place a malicious URL in an Attribute View mAsse field can trigger stored XSS when a victim opens the Gallery or Kanban view with “Cover From -> Asset Field” enabled. The vulnerable code accepts arbitrary http(s) URLs without extensions as images, stores the attacker-controlled string in coverURL, and injects it directly into an <img src="..."> attribute without escaping. In the Electron desktop client, the injected JavaScript executes with nodeIntegration enabled and contextIsolation disabled, so the XSS reaches arbitrary OS command execution under the victim’s account. This issue has been patched in version 3.6.2.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 3.6.2; <= 3.6.1; All versions | 3.6.2 | Partially fixed |
| b3log siyuan | < 3.6.2 | 3.6.2 | Fixed |
| siyuan-note siyuan | = < 3.6.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| siyuan-note siyuan | = < 3.6.2 | No fix listed |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 3.6.2 | 3.6.2 |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | All versions | No fix listed |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | <= 3.6.1 | No fix listed |
| b3log siyuan | < 3.6.2 | 3.6.2 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458 exploit vendor-advisory
- https://github.com/siyuan-note/siyuan/issues/17246 issue-tracking
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com