Read the docs
TI-2026-40756 Aliases CVE-2026-56397GHSA-v3mg-9v85-fcm7

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

Priority HIGH 76CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00496 42nd percentileScored 2026-11-07
Fix Fixed SiYuan (SiYuan): 3.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
SiYuanSiYuanbefore 3.6.13.6.1Patch availableCNA
—github.com/siyuan-note/siyuan/kernel (Go)up to 0.0.0-20260313024916-fd6526133bb3—No fix listedGHSA-v3mg-9v85-fcm7
  • SiYuan VendorSiYuan Affected before 3.6.1 Fixed in 3.6.1 Patch available CNA
  • github.com/siyuan-note/siyuan/kernel (Go) Vendor— Affected up to 0.0.0-20260313024916-fd6526133bb3 Fixed in — No fix listed GHSA-v3mg-9v85-fcm7

Remediation

  • Fix · CNA SiYuan (SiYuan) Fixed in 3.6.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-56397
  2. 2026-10-03 Alias added: GHSA-v3mg-9v85-fcm7
  3. 2026-10-09 EPSS moved to the below the 50th percentile

References

Sources