CVE-2026-86712
SiYuan before 3.8.2 Remote Code Execution via Clipboard
- State
- Published
- Severity
- 8.6 High
- Published
- Sep 8, 2026
- Updated
- Sep 10, 2026
- Reserved
- Sep 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
siyuansiyuan-note |
|
References
- GitHub Security Advisory (GHSA-9rr9-pxr4-gcgc)vendor-advisory
- Patch Commitpatch
- SiYuan v3.8.2 Release Notesrelease-notes
- Lute.Sanitize runs only in the if (!siyuanHTML) branch, v3.8.1technical-description
- https://github.com/siyuan-note/siyuanproduct
- VulnCheck Advisory: SiYuan before 3.8.2 Remote Code Execution via Clipboardthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.