Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-wp64-x7qh-h728
- https://www.vulncheck.com/advisories/siyuan-before-cross-site-scripting-to-rce
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-wp64-x7qh-h728
FAQ
What is CVE-2026-65606?
CVE-2026-65606 is a vulnerability with a CVSS score of 9.6 (CRITICAL). 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 applica...
How severe is CVE-2026-65606?
CVE-2026-65606 has been rated CRITICAL with a CVSS base score of 9.6/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-65606?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.