What’s Vulnerable › Vulnerabilities
CVE-2026-86712: SiYuan before 3.8.2 Remote Code Execution via Clipboard
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-08 · updated 2026-09-10
- Weakness: CWE-79
Description
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.
Affected products
- siyuan-note siyuan: before 3.8.2 — fixed in 3.8.2
How to fix
Upgrade to a fixed version: siyuan-note siyuan 3.8.2. Check the vendor advisory for mitigations.
References
- https://github.com/siyuan-note/siyuan
- https://github.com/siyuan-note/siyuan/blob/v3.8.1/app/src/protyle/util/paste.ts
- https://github.com/siyuan-note/siyuan/commit/9ce660652de2ced26ec2d98a5a242cb0b8bb7273
- https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9rr9-pxr4-gcgc
- https://www.vulncheck.com/advisories/siyuan-before-3.8.2-remote-code-execution-via-clipboard
Get alerted when CVE-2026-86712 or the next vulnerability affects your stack