Live threats

All CVEs / SiYuan

CVE-2026-56397SiYuan

Critical 9.4 No auth needed

Priority
71
CVSS 4.0
9.4
EPSS
—
Auth required
No
Published
Jun 21, 2026
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for SiYuan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/siyuan-note/siyuan/kernel ≤ 0.0.0-20260313024916-fd6526133bb3 no fixed version —
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260317012524-fe4523fff2c8 0.0.0-20260317012524-fe4523fff2c8 go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260317012524-fe4523fff2c8

Per OSV / GitHub Advisories (GHSA-v3mg-9v85-fcm7, GO-2026-4720). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.