{"id":"CVE-2026-65606","aliases":["CVE-2026-65606"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan before v3.7.2 Cross-Site Scripting to RCE","summary":"SiYuan before v3.7.2 contains a cross-site scripting vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a name that is not an installed plugin, the application opens a custom tab and inserts the link's icon parameter into the tab header via innerHTML without escaping it (app/src/layout/Tab.ts), allowing injection of an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node's require and call require('child_process').execSync(...), escalating the cross-site scripting into arbitrary operating-system command execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SiYuan before v3.7.2 contains a cross-site scripting vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a name that is not an installed plugin, the application opens a custom tab and inserts the link's icon parameter into the tab header via innerHTML without escaping it (app/src/layout/Tab.ts), allowing injection of an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node's require and call require('child_process').execSync(...), escalating the cross-site scripting into arbitrary operating-system command execution.","source":"cvelist"}],"published":"2026-07-23T11:42:14.200Z","modified":"2026-09-17T18:17:01.133Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":9.4,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.7.2","status":"affected"},{"type":"semver","version":"3.7.2","status":"unaffected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-wp64-x7qh-h728","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-cross-site-scripting-to-rce","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["hyuunnn"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-23T15:48:00.697Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65606","url":"https://www.cve.org/CVERecord?id=CVE-2026-65606","licence":"CVE Terms of Use","modified":"2026-09-17T17:54:35.884Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65606","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65606","licence":"Public domain","modified":"2026-09-17T18:17:01.133Z"}],"updatedAt":"2026-11-25T22:59:29.916Z","epss":{"score":0.00648,"percentile":0.52387,"date":"2026-12-01T12:00:22.000Z"}}