Vulnerability · Published Sep 8, 2026 · Assigned by VulnCheck
CVE-2026-86712SiYuan before 3.8.2 Remote Code Execution via Clipboard
High 8.8
In plain English
A high-severity cross-site scripting in siyuan from siyuan-note. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 – before 3.8.2 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-9rr9-pxr4-gcgc) vendor-advisory
- Patch Commit patch
- SiYuan v3.8.2 Release Notes release-notes
- Lute.Sanitize runs only in the if (!siyuanHTML) branch, v3.8.1 technical-description
- https://github.com/siyuan-note/siyuan product
- VulnCheck Advisory: SiYuan before 3.8.2 Remote Code Execution via Clipboard third-party-advisory