{"id":"CVE-2026-56397","published":"2026-06-21T13:27:04Z","modified":"2026-11-08T14:06:13Z","title":"SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README","vendor":"SiYuan","product":"SiYuan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00496,"percentile":0.43486,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme-2","tags":["third-party-advisory"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":8.7},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"siyuan","affectedVersions":[{"vendor":"SiYuan","product":"SiYuan","versions":["< 3.6.1"]}],"fixedVersions":[{"vendor":"SiYuan","product":"SiYuan","versions":["3.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-24T15:35:29.612043Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<=0.0.0-20260313024916-fd6526133bb3","<0.0.0-20260317012524-fe4523fff2c8"],"patched":["0.0.0-20260317012524-fe4523fff2c8"],"from":["GHSA-v3mg-9v85-fcm7","GO-2026-4720"],"provenance":"source"}],"summary":{"text":"SiYuan versions before v3.6.1 fail to sanitize package metadata and README content in the Bazaar marketplace, which allows malicious package authors to inject arbitrary HTML and JavaScript. An attacker who publishes a package with a crafted displayName, description, or README can execute OS commands on any user who browses that package in the Bazaar, requiring only that the victim view the malicious content (user interaction) and no authentication or prior network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:28Z"},"euvd":{"id":"EUVD-2026-38163","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-31809","published":"2026-03-10","fixed":"0.0.0-20260310025236-297bd526708f","kev":false},{"cve":"CVE-2026-33066","published":"2026-03-20","fixed":"0.0.0-20260314111550-b382f50e1880","kev":false,"link":{"from":"CVE-2026-33066","to":"CVE-2026-56397","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260314111550-b382f50e1880","toFixed":"0.0.0-20260317012524-fe4523fff2c8","daysApart":93}]}},{"cve":"CVE-2026-33067","published":"2026-03-20","fixed":"0.0.0-20260317012524-fe4523fff2c8","kev":false},{"cve":"CVE-2026-56397","published":"2026-06-21","fixed":"0.0.0-20260317012524-fe4523fff2c8","kev":false},{"cve":"CVE-2026-34585","published":"2026-03-31","fixed":"0.0.0-20260329142331-918d1bd9f967","kev":false},{"cve":"CVE-2026-34605","published":"2026-03-31","fixed":"0.0.0-20260330031106-f09953afc57a","kev":false},{"cve":"CVE-2026-39846","published":"2026-04-07","fixed":"0.0.0-20260407035653-2f416e5253f1","kev":false}],"package":"Go:github.com/siyuan-note/siyuan/kernel"}}