Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-86712: SiYuan before 3.8.2 can run code from pasted clipboard
CVE-2026-86712 · published 1 month ago
Summary
The desktop version of SiYuan (any release earlier than 3.8.2) does not clean data that comes from the system clipboard before it is pasted. A malicious webpage could place specially crafted text on the clipboard, and when a user pastes it into SiYuan, the hidden code runs with full access to the computer. Update SiYuan to version 3.8.2 or later, and avoid pasting content from untrusted sources.
What to do
- Update siyuan-note siyuan to version 3.8.2 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| siyuan-note | siyuan | < 3.8.2 |
Original advisory text
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.
References
- https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2 Vendor Advisory
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9rr9-pxr4-gcgc Vendor Advisory
- https://www.vulncheck.com/advisories/siyuan-before-3.8.2-remote-code-execution-v... Vendor Advisory
- https://github.com/siyuan-note/siyuan/commit/9ce660652de2ced26ec2d98a5a242cb0b8b... Patch
- https://github.com/siyuan-note/siyuan Product
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86712... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-86712 Vendor Advisory
- https://github.com/siyuan-note/siyuan/blob/v3.8.1/app/src/protyle/util/paste.ts Third Party Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
9.9
Critical
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published8 Sep 2026
Updated4 Nov 2026
First seen8 Sep 2026
Track software like this
Free during beta