Skip to content
Heist/ feed
Critical

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-56397

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-56397

SiYuan

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "SiYuan",
    "product": "SiYuan",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.6.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.6.1",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:golang/github.com/siyuan-note/siyuan/kernel",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-56397

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#12760 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement