---
id: GHSA-24r3-p3x6-cqvx
title: >-
  Duplicate Advisory: SiYuan Vulnerable to Remote Code Execution via Malicious
  Bazaar Package — Marketplace XSS
summary: >-
  Duplicate Advisory: SiYuan Vulnerable to Remote Code Execution via Malicious
  Bazaar Package — Marketplace XSS
severity: critical
cvss: 9.6
cwe:
  - CWE-79
vendor: siyuan-note
product: github.com/siyuan-note/siyuan/kernel
ecosystem: go
affected:
  - github.com/siyuan-note/siyuan/kernel <= 0.0.0-20260313024916-fd6526133bb3
published: '2026-06-21'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T18:12:26Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-24r3-p3x6-cqvx'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56397'
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme-2
  - url: 'https://github.com/advisories/GHSA-24r3-p3x6-cqvx'
tags:
  - ghsa
  - go
ingestedAt: '2026-09-14T19:13:23.465Z'
---

## Overview

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-v3mg-9v85-fcm7. This link is maintained to preserve external references.

### Original Description
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 packages

- `github.com/siyuan-note/siyuan/kernel <= 0.0.0-20260313024916-fd6526133bb3`

## Remediation

Refer to the advisory for the patched release.
