SiYuan
SiYuan before 3.8.2 Remote Code Execution via Clipboard
SiYuan before 3.8.2 trusts the attacker-writable text/siyuan clipboard MIME type and skips sanitization in the paste handler, allowing code execution in the Node-enabled desktop renderer. Attackers can craft malicious web pages that write to the clipboard, and when pasted into SiYuan, injected scripts execute with full Node.js access through the Electron main process.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
siyuan-note siyuan
- < 3.8.2
Fixed in 3.8.2
Mitigation
Upgrade siyuan to 3.8.2 or later.
References
- Vendor advisory github.com/siyuan-note/siyuan/security/advisor…
- Patch github.com/siyuan-note/siyuan/commit/9ce660652…
- Release notes github.com/siyuan-note/siyuan/releases/tag/v3.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.