{"id":"CVE-2026-86712","state":"PUBLISHED","title":"SiYuan before 3.8.2 Remote Code Execution via Clipboard","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.","publishedAt":"2026-09-08T11:23:05.131Z","updatedAt":"2026-09-10T15:03:19.971Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["siyuan-note siyuan"],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:github/siyuan-note/siyuan","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.8.2","versionType":"semver"}],"collectionURL":"https://github.com/siyuan-note/siyuan","repo":"https://github.com/siyuan-note/siyuan"}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9rr9-pxr4-gcgc","https://github.com/siyuan-note/siyuan/commit/9ce660652de2ced26ec2d98a5a242cb0b8bb7273","https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2","https://github.com/siyuan-note/siyuan/blob/v3.8.1/app/src/protyle/util/paste.ts","https://github.com/siyuan-note/siyuan","https://www.vulncheck.com/advisories/siyuan-before-3.8.2-remote-code-execution-via-clipboard"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/86xxx/CVE-2026-86712.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-86712","state":"PUBLISHED","datePublished":"2026-09-08T11:23:05.131Z","dateUpdated":"2026-09-10T15:03:19.971Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-08T10:58:25.497Z"},"containers":{"cna":{"title":"SiYuan before 3.8.2 Remote Code Execution via Clipboard","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:github/siyuan-note/siyuan","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.8.2","versionType":"semver"}],"collectionURL":"https://github.com/siyuan-note/siyuan","repo":"https://github.com/siyuan-note/siyuan"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9rr9-pxr4-gcgc","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-9rr9-pxr4-gcgc)"},{"url":"https://github.com/siyuan-note/siyuan/commit/9ce660652de2ced26ec2d98a5a242cb0b8bb7273","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2","tags":["release-notes"],"name":"SiYuan v3.8.2 Release Notes"},{"url":"https://github.com/siyuan-note/siyuan/blob/v3.8.1/app/src/protyle/util/paste.ts","tags":["technical-description"],"name":"Lute.Sanitize runs only in the if (!siyuanHTML) branch, v3.8.1"},{"url":"https://github.com/siyuan-note/siyuan","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.2-remote-code-execution-via-clipboard","name":"VulnCheck Advisory: SiYuan before 3.8.2 Remote Code Execution via Clipboard","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-08T11:23:05.131Z"},"datePublic":"2026-08-28T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*","versionEndExcluding":"3.8.2"}]}]}],"credits":[{"lang":"en","value":"Siyang Wu","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-10T14:27:43.598618Z","id":"CVE-2026-86712","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-10T15:03:19.971Z"}}]}}}