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.
Affected products
b3log: siyuan
References3
- github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526… ExploitVendor Advisory
- github.com/siyuan-note/siyuan/issues/17246 Issue Tracking
- github.com/siyuan-note/siyuan/releases/tag/v3.6.2 Release Notes
Metrics
- CVSS 3.1
-
9.0
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 43 · as of 12 November 2026
- CWE
- CWE-79CWE-94
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.