# CVE-2026-65606: SiYuan before v3.7.2 Cross-Site Scripting to RCE

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/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.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-23T11:42:14.200Z
- Modified: 2026-09-17T18:17:01.133Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

SiYuan before v3.7.2 contains a cross-site scripting vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a name that is not an installed plugin, the application opens a custom tab and inserts the link's icon parameter into the tab header via innerHTML without escaping it (app/src/layout/Tab.ts), allowing injection of an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node's require and call require('child_process').execSync(...), escalating the cross-site scripting into arbitrary operating-system command execution.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-wp64-x7qh-h728> (exploit, vendor-advisory)
- <https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70> (patch)
- <https://www.vulncheck.com/advisories/siyuan-before-cross-site-scripting-to-rce> (third-party-advisory)

## Sources

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

---

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