CVE-2026-56397

GHSA-v3mg-9v85-fcm7 · GO-2026-4720 · published 16 Mar 2026 · updated 17 Nov 2026

SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README

9.6CriticalCVSS 9.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.6.1 and github.com/siyuan-note/siyuan/kernel 0.0.0-20260317012524-fe4523fff2c8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SiYuan<3.6.13.6.1
go: github.com/siyuan-note/siyuan/kernel<0.0.0-20260317012524-fe4523fff2c8, <=0.0.0-20260313024916-fd6526133bb30.0.0-20260317012524-fe4523fff2c8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in github.com/siyuan-note/siyuan/kernel (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-56397 severity on Zeptric[![CVE-2026-56397](https://zeptric.io/badge/cve/CVE-2026-56397.svg)](https://zeptric.io/cve/CVE-2026-56397)