SiYuan before 3.9.0-alpha.14 contains a stored cross-site scripting vulnerability in the Inbox dock that allows attackers to inject script through unsanitized shorthandTitle, shorthandURL and shorthandDesc fields of clipped entries. Attackers controlling a web page title or URL can execute JavaScript in the SiYuan renderer when victims clip and open the entry, then use the kernel API to read and modify notes and files.
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-43f7-xj5x-mc34
https://github.com/siyuan-note/siyuan/releases/tag/v3.9.0-alpha.14
https://github.com/siyuan-note/siyuan/commit/299c7672eceeb1926e639c89715085912ae9900c
https://github.com/siyuan-note/siyuan/blob/v3.8.12/app/src/util/hostCapabilities.ts#L103-L108
https://github.com/siyuan-note/siyuan/blob/v3.8.12/app/src/layout/dock/Inbox.ts#L210-L252