CVE-2026-75917: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
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.
AI Analysis
Technical Summary
CVE-2026-75917 describes a cross-site scripting vulnerability in SiYuan note-taking software prior to version 3.7.4. The issue is located in the file-tree picker's hover-tooltip generation code (app/src/util/pathName.ts, getLeaf()/movePathTo()), where document metadata fields such as bookmark, alias, memo, and an alternate name are concatenated into the aria-label HTML attribute without proper escaping. An attacker can craft a document containing a double quote in these fields to break out of the attribute context and inject arbitrary HTML attributes, including inline event handlers like onmouseover. Because SiYuan runs in an Electron BrowserWindow with nodeIntegration enabled, contextIsolation disabled, and no content security policy, the injected event handler can access Node.js modules such as child_process, enabling escalation from XSS to arbitrary OS command execution. Malicious documents can be delivered through sharing, synchronization, or import mechanisms.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the victim's machine by leveraging the Electron environment's nodeIntegration and lack of context isolation. This elevates the impact from a typical XSS to remote code execution with potentially full control over the affected system. The vulnerability requires user interaction (hovering over the malicious document entry) and local access to the SiYuan application.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should avoid opening or importing untrusted documents and refrain from interacting with suspicious document entries in the path-picker dialog until an official fix is released. Monitor the vendor's communications for updates regarding patches or mitigations.
CVE-2026-75917: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
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.
CVSS v4.0
Score 9.3critical
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-75917 describes a cross-site scripting vulnerability in SiYuan note-taking software prior to version 3.7.4. The issue is located in the file-tree picker's hover-tooltip generation code (app/src/util/pathName.ts, getLeaf()/movePathTo()), where document metadata fields such as bookmark, alias, memo, and an alternate name are concatenated into the aria-label HTML attribute without proper escaping. An attacker can craft a document containing a double quote in these fields to break out of the attribute context and inject arbitrary HTML attributes, including inline event handlers like onmouseover. Because SiYuan runs in an Electron BrowserWindow with nodeIntegration enabled, contextIsolation disabled, and no content security policy, the injected event handler can access Node.js modules such as child_process, enabling escalation from XSS to arbitrary OS command execution. Malicious documents can be delivered through sharing, synchronization, or import mechanisms.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the victim's machine by leveraging the Electron environment's nodeIntegration and lack of context isolation. This elevates the impact from a typical XSS to remote code execution with potentially full control over the affected system. The vulnerability requires user interaction (hovering over the malicious document entry) and local access to the SiYuan application.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should avoid opening or importing untrusted documents and refrain from interacting with suspicious document entries in the path-picker dialog until an official fix is released. Monitor the vendor's communications for updates regarding patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-18T15:05:54.226Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a85bc6bacd9273b492f4868
Added to database: 08/19/2026, 14:23:39 UTC
Last enriched: 08/19/2026, 15:07:19 UTC
Last updated: 08/19/2026, 17:55:44 UTC
Views: 2
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.