CVE-2026-86712
highSiYuan 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 No…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/siyuan-note/siyuan disclosure@vulncheck.com
- https://github.com/siyuan-note/siyuan/blob/v3.8.1/app/src/protyle/util/paste.ts disclosure@vulncheck.com
- https://github.com/siyuan-note/siyuan/commit/9ce660652de2ced26ec2d98a5a242cb0b8bb7273 disclosure@vulncheck.com
- https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2 disclosure@vulncheck.com
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9rr9-pxr4-gcgc disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/siyuan-before-3.8.2-remote-code-execution-via-clipboa... disclosure@vulncheck.com
