{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-56395: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-56395","status":"final","version":"1","initial_release_date":"2026-06-21T13:27:03.141Z","current_release_date":"2026-06-21T13:27:03.141Z","revision_history":[{"date":"2026-06-21T13:27:03.141Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-56395 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-56395"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-56395"},{"category":"external","summary":"GHSA Advisory GHSA-v3mg-9v85-fcm7","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7"},{"category":"external","summary":"VulnCheck Advisory: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README","url":"https://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme"}]},"product_tree":{"branches":[{"category":"vendor","name":"SiYuan","branches":[{"category":"product_name","name":"SiYuan","branches":[{"category":"product_version_range","name":"<3.6.1","product":{"name":"SiYuan SiYuan <3.6.1","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:siyuan:siyuan:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"3.6.1","product":{"name":"SiYuan SiYuan 3.6.1","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:siyuan:siyuan:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-56395","title":"SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README","notes":[{"category":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":9.4,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 3.6.1.","product_ids":["CSAFPID-1"]}]}]}