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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 3.6.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-06-21 · Modified: 2026-10-08
- Record: https://cvemate.com/vulnerability/CVE-2026-56397 · JSON: https://cvemate.com/vulnerability/CVE-2026-56397/json

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

## Signals

- CVSS: 9.6 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.496%, percentile 44.179%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- siyuan siyuan: \< 3.6.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7>
- <https://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme-2>

---

Data as of 2026-12-05T10:47:04.706Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
