---
id: CVE-2026-75917
title: >-
  SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the
  file-tree picker's hover-tooltip generation (app/src/util/pathName.ts,
  getLeaf()/movePathTo()) used by the 'move/link to' path-selection dialogs,
  where document me…
summary: >-
  SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the
  file-tree picker's hover-tooltip generation (app/src/util/pathName.ts,
  getLeaf()/movePathTo()) used by the 'move/link to' path-selection dialogs,
  where document me…
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:L/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.4
published: '2026-08-19'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:41.673'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75917'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jjq3-3942-x99r
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-pathname-ts
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jjq3-3942-x99r
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-20T17:23:02.035728Z'
epss: 0.00243
epssPercentile: 0.14244
ingestedAt: '2026-10-08T16:52:14.723Z'
---

## Overview

SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file-tree picker's hover-tooltip generation (app/src/util/pathName.ts, getLeaf()/movePathTo()) used by the 'move/link to' path-selection dialogs, where document metadata fields (bookmark, alias, memo, and an alternate name field) are concatenated into the aria-label HTML attribute without escaping. A document crafted with a double quote in any of these fields breaks out of the attribute context and injects arbitrary HTML attributes including inline event handlers (e.g., onmouseover). Because every SiYuan Electron BrowserWindow runs with nodeIntegration:true, contextIsolation:false, and no CSP, the injected handler gains require('child_process') access, escalating the XSS to arbitrary OS command execution when a victim merely hovers over the malicious document entry in the path-picker dialog. Malicious documents reach victims via sharing, sync, or import.

## Remediation

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