---
id: CVE-2026-66395
title: >-
  SiYuan desktop before v3.7.2 contains a reflected cross-site scripting
  vulnerability in the bazaar plugin readme handler that allows attackers to
  execute arbitrary code by crafting a malicious siyuan:// deep link
summary: >-
  SiYuan desktop before v3.7.2 contains a reflected cross-site scripting
  vulnerability in the bazaar plugin readme handler that allows attackers to
  execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers
  can inject HT…
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-79
vendor: siyuan-note
product: siyuan
affected:
  - siyuan < 3.7.2
published: '2026-07-27'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T18:17:03.137'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-66395'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6gx2-8gcr-x83f
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-desktop-before-reflected-xss-to-rce-via-siyuan-protocol
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6gx2-8gcr-x83f
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-07-27T16:23:27.484277Z'
epss: 0.00565
epssPercentile: 0.4461
ingestedAt: '2026-09-17T18:25:15.981Z'
---

## Overview

SiYuan desktop before v3.7.2 contains a reflected cross-site scripting vulnerability in the bazaar plugin readme handler that allows attackers to execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers can inject HTML payloads via the plugin name parameter that execute with full Node.js access through insertAdjacentHTML rendering in an insecurely configured Electron renderer.

## Remediation

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