CVE-2026-86712 SiYuan before 3.8.2 Remote Code Execution via Clipboard
Attackers can execute arbitrary code via malicious clipboard content in SiYuan due to missing sanitization in the paste handler.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-86712?
CVE-2026-86712 is a high-severity cross-site scripting vulnerability in siyuan-note siyuan, published on 8 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-86712?
How do I fix CVE-2026-86712?
No fix has been published for CVE-2026-86712 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-86712 being exploited?
There is no known exploitation of CVE-2026-86712 in the wild and no public exploit code.
Sources
Also known as GHSA-358r-j9r9-9hv6, GHSA-9rr9-pxr4-gcgc.