---
id: GHSA-989h-w3q9-3m2f
title: >-
  Duplicate Advisory: SiYuan: Missing consistency check between packageName and
  repoURL/repoHash in bazaar package install allows overwriting an existing,
  trusted plugin
summary: >-
  Duplicate Advisory: SiYuan: Missing consistency check between packageName and
  repoURL/repoHash in bazaar package install allows overwriting an existing,
  trusted plugin
severity: medium
cvss: 6.6
cwe:
  - CWE-345
vendor: siyuan-note
product: github.com/siyuan-note/siyuan/kernel
ecosystem: go
affected:
  - github.com/siyuan-note/siyuan/kernel < 3.7.4
published: '2026-08-22'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T18:35:01Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-989h-w3q9-3m2f'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rpx2-p6hp-x5gj
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62204'
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-plugin-overwrite-via-bazaar-install
  - url: 'https://github.com/advisories/GHSA-989h-w3q9-3m2f'
tags:
  - ghsa
  - go
ingestedAt: '2026-10-23T19:35:13.434Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-rpx2-p6hp-x5gj. This link is maintained to preserve external references.

## Original Description
SiYuan versions before v3.7.4 fail to validate that packageName matches the downloaded package content in bazaar install endpoints. Attackers with same-origin access can overwrite existing trusted plugins by supplying mismatched packageName and repoURL parameters, achieving persistence across application restarts.

## Affected packages

- `github.com/siyuan-note/siyuan/kernel < 3.7.4`

## Remediation

Refer to the advisory for the patched release.
