CVE-2026-86712
published high CVSS 4.0 · 8.6SiYuan before 3.8.2 Remote Code Execution via Clipboard
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| siyuan-note | — | siyuan0 to < 3.8.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| siyuan-note | siyuan | 0 to < 3.8.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://github.com/siyuan-note/siyuan
- Lute.Sanitize runs only in the if (!siyuanHTML) branch, v3.8.1 https://github.com/siyuan-note/siyuan/blob/v3.8.1/app/src/protyle/util/paste.ts
- Patch Commit https://github.com/siyuan-note/siyuan/commit/9ce660652de2ced26ec2d98a5a242cb0b8bb7273
- SiYuan v3.8.2 Release Notes https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2
- GitHub Security Advisory (GHSA-9rr9-pxr4-gcgc) https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9rr9-pxr4-gcgc
- VulnCheck Advisory: SiYuan before 3.8.2 Remote Code Execution via Clipboard https://www.vulncheck.com/advisories/siyuan-before-3.8.2-remote-code-execution-via-clipboard
Provider assertions
2VulnCheck · cna
SiYuan before 3.8.2 Remote Code Execution via Clipboard
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 94470411f23a3a09c52a0f5fbad861fb264619d4dae1a1bd405374eb7b533e4c
- Ingested
- 23 Sep 2026, 09:37:28 UTC
- Source record
- Official CVE record