CVE-2026-65606: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan note-taking application versions before 3.7.2 contain a critical cross-site scripting (XSS) vulnerability in the siyuan:// protocol handler. This occurs when a link references a non-installed plugin name, causing the application to insert an unescaped icon parameter into a tab header via innerHTML. Due to nodeIntegration being enabled, this XSS can escalate to arbitrary operating system command execution. The vulnerability has a CVSS 4.0 score of 9.4, indicating critical severity. No patch or official remediation guidance is currently provided.
AI Analysis
Technical Summary
SiYuan versions prior to 3.7.2 have an XSS vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a plugin name that is not installed, the application opens a custom tab and inserts the icon parameter from the link into the tab header using innerHTML without escaping. This allows injection of malicious HTML such as an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node.js's require function and execute arbitrary OS commands via require('child_process').execSync(...), escalating the XSS to remote code execution on the host system. The vulnerability is publicly known with a CVSS 4.0 score of 9.4 and is classified as critical. No vendor patch or fix information is currently available.
Potential Impact
Exploitation of this vulnerability allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application. Due to nodeIntegration being enabled, this can be escalated to arbitrary operating system command execution, potentially leading to full system compromise. The vulnerability requires user interaction (UI:P) but no privileges or authentication. The impact includes high confidentiality, integrity, and availability loss as indicated by the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid clicking or loading untrusted siyuan://plugins/<name> links referencing non-installed plugins. Consider disabling nodeIntegration in the renderer if possible or restricting usage to trusted content. Monitor official Siyuan channels for updates and patches addressing this vulnerability.
CVE-2026-65606: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan note-taking application versions before 3.7.2 contain a critical cross-site scripting (XSS) vulnerability in the siyuan:// protocol handler. This occurs when a link references a non-installed plugin name, causing the application to insert an unescaped icon parameter into a tab header via innerHTML. Due to nodeIntegration being enabled, this XSS can escalate to arbitrary operating system command execution. The vulnerability has a CVSS 4.0 score of 9.4, indicating critical severity. No patch or official remediation guidance is currently provided.
CVSS v4.0
Score 9.4critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SiYuan versions prior to 3.7.2 have an XSS vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a plugin name that is not installed, the application opens a custom tab and inserts the icon parameter from the link into the tab header using innerHTML without escaping. This allows injection of malicious HTML such as an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node.js's require function and execute arbitrary OS commands via require('child_process').execSync(...), escalating the XSS to remote code execution on the host system. The vulnerability is publicly known with a CVSS 4.0 score of 9.4 and is classified as critical. No vendor patch or fix information is currently available.
Potential Impact
Exploitation of this vulnerability allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application. Due to nodeIntegration being enabled, this can be escalated to arbitrary operating system command execution, potentially leading to full system compromise. The vulnerability requires user interaction (UI:P) but no privileges or authentication. The impact includes high confidentiality, integrity, and availability loss as indicated by the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid clicking or loading untrusted siyuan://plugins/<name> links referencing non-installed plugins. Consider disabling nodeIntegration in the renderer if possible or restricting usage to trusted content. Monitor official Siyuan channels for updates and patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-22T10:48:36.000Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6207979c2644c7f80b64a2
Added to database: 07/23/2026, 12:22:47 UTC
Last enriched: 07/23/2026, 12:37:31 UTC
Last updated: 07/23/2026, 13:08:16 UTC
Views: 27
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.