CVE-2026-34448
CRITICAL 9.0CVSS 3.1SiYuan: Stored XSS in Attribute View Gallery/Kanban Cover Rendering Allows Arbitrary Command Execution in Desktop Client
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.
- Published
- 31 Mar 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79CWE-94
- Also known as
- GHSA-rx4h-526q-4458GO-2026-5644
- Sources
- NVDJSONOSV GHSA-rx4h-526q-4458JSONOSV GO-2026-5644JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | b3log | siyuancpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* |
< 3.6.2 | 3.6.2 |
| OSV | Go | github.com/siyuan-note/siyuan/kernel | < 3.6.2 | 3.6.2 |
| OSV | Go | github.com/siyuan-note/siyuan/kernel | all versions |
References
- https://github.com/siyuan-note/siyuan/issues/17246 · Issue Tracking, WEB
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 · Release Notes, WEB
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34448 · ADVISORY
- https://github.com/siyuan-note/siyuan · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2026)