# CVE-2026-75917: SiYuan before v3.7.4 XSS-to-RCE via pathName.ts

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T14:01:51.076Z
- Modified: 2026-10-08T16:17:41.673Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.4 (not affected: 3.7.4)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- VulnCheck: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jjq3-3942-x99r> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-pathname-ts> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-75917](https://www.cve.org/CVERecord?id=CVE-2026-75917), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2026-75917](https://nvd.nist.gov/vuln/detail/CVE-2026-75917), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-75917 · Whole record: https://cve.day/CVE-2026-75917.json · Rebuilt by cve.day 2026-11-25T22:59:33.929Z
