CVE-2026-75916: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan through 3.7.3 contains a cross-site scripting vulnerability in the '((' block-reference autocomplete hint popup. In genHintItemHTML() (app/src/protyle/hint/extend.ts), a candidate block's name, alias, and memo fields are concatenated into the popup's HTML without escaping. An attacker who can set these metadata fields on a block can inject a self-firing payload (e.g. <img src=x onerror=...>) that executes automatically when a victim types '((' followed by a search term that surfaces the crafted block. Because SiYuan's Electron windows run with nodeIntegration enabled, contextIsolation disabled, and no CSP, the injected script gains require('child_process') access, allowing the XSS to escalate to arbitrary OS command execution.
AI Analysis
Technical Summary
CVE-2026-75916 describes a cross-site scripting vulnerability in SiYuan note-taking software versions up to 3.7.3. The issue occurs in the genHintItemHTML() function where block metadata fields (name, alias, memo) are inserted into the autocomplete hint popup HTML without escaping. An attacker who controls these fields can inject a self-executing payload that triggers when a user types '((' followed by a search term that surfaces the malicious block. Because SiYuan's Electron windows run with nodeIntegration enabled, contextIsolation disabled, and no Content Security Policy, the injected script can access Node.js APIs such as require('child_process'), enabling escalation from XSS to arbitrary OS command execution.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application, which escalates to arbitrary operating system command execution due to Electron's insecure configuration. This can lead to full system compromise of the host running the vulnerable software.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid opening untrusted blocks or content that could trigger the vulnerable autocomplete popup. Consider running SiYuan in a more secure Electron configuration if possible (e.g., disabling nodeIntegration, enabling contextIsolation, or applying a Content Security Policy) to reduce risk.
CVE-2026-75916: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan through 3.7.3 contains a cross-site scripting vulnerability in the '((' block-reference autocomplete hint popup. In genHintItemHTML() (app/src/protyle/hint/extend.ts), a candidate block's name, alias, and memo fields are concatenated into the popup's HTML without escaping. An attacker who can set these metadata fields on a block can inject a self-firing payload (e.g. <img src=x onerror=...>) that executes automatically when a victim types '((' followed by a search term that surfaces the crafted block. Because SiYuan's Electron windows run with nodeIntegration enabled, contextIsolation disabled, and no CSP, the injected script gains require('child_process') access, allowing the XSS to escalate to arbitrary OS command execution.
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-75916 describes a cross-site scripting vulnerability in SiYuan note-taking software versions up to 3.7.3. The issue occurs in the genHintItemHTML() function where block metadata fields (name, alias, memo) are inserted into the autocomplete hint popup HTML without escaping. An attacker who controls these fields can inject a self-executing payload that triggers when a user types '((' followed by a search term that surfaces the malicious block. Because SiYuan's Electron windows run with nodeIntegration enabled, contextIsolation disabled, and no Content Security Policy, the injected script can access Node.js APIs such as require('child_process'), enabling escalation from XSS to arbitrary OS command execution.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application, which escalates to arbitrary operating system command execution due to Electron's insecure configuration. This can lead to full system compromise of the host running the vulnerable software.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid opening untrusted blocks or content that could trigger the vulnerable autocomplete popup. Consider running SiYuan in a more secure Electron configuration if possible (e.g., disabling nodeIntegration, enabling contextIsolation, or applying a Content Security Policy) to reduce risk.
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: 6a85bc6bacd9273b492f4866
Added to database: 08/19/2026, 14:23:39 UTC
Last enriched: 08/19/2026, 15:07:29 UTC
Last updated: 08/19/2026, 17:55:44 UTC
Views: 3
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.