{"schemaVersion":4,"id":"CVE-2026-56395","aliases":["GHSA-v3mg-9v85-fcm7","CVE-2026-56397","GO-2026-4720"],"status":"duplicate","duplicateOf":{"id":"CVE-2026-56397","severity":"critical"},"title":"SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README","description":"SiYuan before v3.6.1 fails to sanitize package metadata and README content in the Bazaar marketplace, allowing malicious package authors to inject arbitrary HTML and JavaScript. Attackers can achieve remote code execution on any user browsing the Bazaar by embedding XSS payloads in package displayName, description, or README fields, exploiting Electron's nodeIntegration setting to execute OS commands.","dates":{"published":"2026-06-21T13:27:04.512Z","modified":"2026-11-08T14:06:13.395Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.4,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.4,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.007,"percentile":0.51564,"severity":"low","asOf":"2026-09-17T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.007,"percentile":0.51564}],"last30":[{"date":"2026-09-14T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.007,"percentile":0.51564}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"github.com/siyuan-note/siyuan","product":"kernel","name":"github.com/siyuan-note/siyuan/kernel","label":"kernel","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","purlType":"golang","versions":[{"text":"≤ 0.0.0-20260313024916-fd6526133bb3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.0.0-20260313024916-fd6526133bb3","endInclusive":true}},{"text":"< 0.0.0-20260317012524-fe4523fff2c8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.0.0-20260317012524-fe4523fff2c8","endInclusive":false}}],"versionsText":"≤ 0.0.0-20260313024916-fd6526133bb3 | < 0.0.0-20260317012524-fe4523fff2c8","eol":null,"hubHref":null},{"vendor":"siyuan","product":"siyuan","name":"SiYuan","label":"siyuan","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.6.1","endInclusive":false}}],"versionsText":"< 3.6.1","eol":null,"hubHref":"/vendor/siyuan/siyuan"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7","label":"github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7","hostname":"github.com","tags":["WEB","Advisory","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56397","label":"nvd.nist.gov/vuln/detail/CVE-2026-56397","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/siyuan-note/siyuan","label":"github.com/siyuan-note/siyuan","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme-2","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["WEB","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-21T13:27:04.512Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-08T14:06:13.395Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 17-09-2026)","nextStep":"Check applicability: affected before 3.6.1 (CNA); fix release not confirmed","rank":[0,0,0,0,1,94],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"cvss","source":"osv_go","date":"2026-11-08T14:06:13.395Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-08T14:06:13.395Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.4,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-08T14:06:13.395Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"cve.org","date":"2026-11-08T14:06:13.395Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.4,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-08T14:06:13.395Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"epss","source":"FIRST","date":"2026-09-17T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.007,"stale":false,"promoted":null},{"type":"adp","source":"cisa-adp","date":"2026-06-24T15:35:29.612Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.007,"date":"2026-09-17T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:47:07.997Z","stale":false,"partial":false}}