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
VendorProductAffected 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.
Fix within
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
Exploitation
<1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published8 Sep 2026
Updated4 Nov 2026
First seen8 Sep 2026
Sources
CVE-2026-86712 · MITRE
Track software like this
Free during beta