{"id":"CVE-2026-66395","state":"PUBLISHED","title":"SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol","description":"SiYuan desktop before v3.7.2 contains a reflected cross-site scripting vulnerability in the bazaar plugin readme handler that allows attackers to execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers can inject HTML payloads via the plugin name parameter that execute with full Node.js access through insertAdjacentHTML rendering in an insecurely configured Electron renderer.","publishedAt":"2026-07-27T15:43:46.073Z","updatedAt":"2026-09-17T17:54:39.234Z","severity":{"score":9.4,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"VulnCheck"},"assigner":"VulnCheck","products":["siyuan-note siyuan"],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:golang/github.com/siyuan-note/siyuan","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.7.2","versionType":"semver"},{"version":"3.7.2","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6gx2-8gcr-x83f","https://www.vulncheck.com/advisories/siyuan-desktop-before-reflected-xss-to-rce-via-siyuan-protocol"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/66xxx/CVE-2026-66395.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-66395","state":"PUBLISHED","datePublished":"2026-07-27T15:43:46.073Z","dateUpdated":"2026-09-17T17:54:39.234Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-26T12:22:34.139Z"},"containers":{"cna":{"title":"SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol","descriptions":[{"lang":"en","value":"SiYuan desktop before v3.7.2 contains a reflected cross-site scripting vulnerability in the bazaar plugin readme handler that allows attackers to execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers can inject HTML payloads via the plugin name parameter that execute with full Node.js access through insertAdjacentHTML rendering in an insecurely configured Electron renderer."}],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:golang/github.com/siyuan-note/siyuan","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.7.2","versionType":"semver"},{"version":"3.7.2","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6gx2-8gcr-x83f","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-6gx2-8gcr-x83f)"},{"url":"https://www.vulncheck.com/advisories/siyuan-desktop-before-reflected-xss-to-rce-via-siyuan-protocol","name":"VulnCheck Advisory: SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol","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:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.6,"baseSeverity":"CRITICAL"}}],"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-17T17:54:39.234Z"},"datePublic":"2026-07-13T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*","versionEndExcluding":"3.7.2"}]}]}],"credits":[{"lang":"en","value":"hypnguyen1209","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6gx2-8gcr-x83f","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-27T16:23:27.484277Z","id":"CVE-2026-66395","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-27T16:23:32.228Z"}}]}}}