{"id":"CVE-2026-75916","aliases":["CVE-2026-75916"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan XSS-to-RCE via unescaped block metadata in hint popup","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-19T14:01:50.370Z","modified":"2026-10-08T16:17:41.530Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5prr-vgxq-69g9","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/siyuan-xss-to-rce-via-unescaped-block-metadata-in-hint-popup","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["alham-rizvi","hey-raghav"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-21T19:21:47.693Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-75916","url":"https://www.cve.org/CVERecord?id=CVE-2026-75916","licence":"CVE Terms of Use","modified":"2026-10-08T15:51:43.765Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-75916","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75916","licence":"Public domain","modified":"2026-10-08T16:17:41.530Z"}],"updatedAt":"2026-11-25T22:59:33.928Z","epss":{"score":0.00225,"percentile":0.14116,"date":"2026-12-01T12:00:22.000Z"}}