---
id: CVE-2026-62204
title: >-
  SiYuan versions before v3.7.4 fail to validate that packageName matches the
  downloaded package content in bazaar install endpoints
summary: >-
  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 packageN…
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L'
cwe:
  - CWE-345
  - CWE-668
published: '2026-08-22'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T16:10:00.220'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62204'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rpx2-p6hp-x5gj
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-plugin-overwrite-via-bazaar-install
    label: disclosure@vulncheck.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62204'
  - url: >-
      https://github.com/siyuan-note/siyuan/commit/26ccb40d390eb7d9b04673629a58ab1d69cc7e53
  - url: 'https://github.com/siyuan-note/siyuan/releases/tag/v3.8.0'
  - url: 'https://github.com/advisories/GHSA-rpx2-p6hp-x5gj'
  - url: 'https://github.com/siyuan-note/siyuan'
tags:
  - nvd
  - ghsa
  - go
  - osv
epss: 0.00094
epssPercentile: 0.00571
ingestedAt: '2026-08-23T04:42:14.584Z'
aliases:
  - GHSA-rpx2-p6hp-x5gj
ecosystem: go
vendor: siyuan-note
product: github.com/siyuan-note/siyuan/kernel
affected:
  - github.com/siyuan-note/siyuan/kernel < 0.0.0-20260808010544-26ccb40d390e
patched:
  - github.com/siyuan-note/siyuan/kernel 0.0.0-20260808010544-26ccb40d390e
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-62204)

Affected packages:

- `github.com/siyuan-note/siyuan/kernel < 0.0.0-20260808010544-26ccb40d390e`

Patched in:

- `github.com/siyuan-note/siyuan/kernel 0.0.0-20260808010544-26ccb40d390e`

Source: https://github.com/advisories/GHSA-rpx2-p6hp-x5gj
