CVE-2026-75916 SiYuan XSS-to-RCE via unescaped block metadata in hint popup
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
1 package: 0 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| siyuan-note github.com/siyuan-note/siyuan/kernel | All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| siyuan-note github.com/siyuan-note/siyuan/kernel | All versions | No fix listed |
References
- GitHub Security Advisory (GHSA-5prr-vgxq-69g9) exploit vendor-advisory
- VulnCheck Advisory: SiYuan XSS-to-RCE via unescaped block metadata in hint popup third-party-advisory
- ENISA EUVD EUVD-2026-62441 third-party-advisory