SiYuan before 3.8.2 Remote Code Execution via Clipboard
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-86712
PublishedSiYuan 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-86712 · CVE overview and exploitation status
cve-program · CVE-2026-86712
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9rr9-pxr4-gcgc
- 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/blob/v3.8.1/app/src/protyle/util/paste.ts
- https://github.com/siyuan-note/siyuan
- https://www.vulncheck.com/advisories/siyuan-before-3.8.2-remote-code-execution-via-clipboard
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.