# CVE-2026-56397: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T20:43:49.000Z
- Modified: 2026-11-17T07:11:28.734Z
- Also known as: GHSA-v3mg-9v85-fcm7, GO-2026-4720
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- SiYuan SiYuan: before 3.6.1 (not affected: 3.6.1)
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20260313024916-fd6526133bb3; before 0.0.0-20260317012524-fe4523fff2c8

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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`
- VulnCheck: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7> (exploit, advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme-2> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56397> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-56397](https://www.cve.org/CVERecord?id=CVE-2026-56397), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-v3mg-9v85-fcm7](https://github.com/advisories/GHSA-v3mg-9v85-fcm7), CC-BY-4.0, modified 2026-11-17
- Go Vulnerability Database: [GO-2026-4720](https://pkg.go.dev/vuln/GO-2026-4720), CC-BY-4.0, modified 2026-11-17
- NVD: [CVE-2026-56397](https://nvd.nist.gov/vuln/detail/CVE-2026-56397), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-56397 · Whole record: https://cve.day/CVE-2026-56397.json · Rebuilt by cve.day 2026-11-25T22:59:25.333Z
