Skip to content
Heist/ feed
Critical

SiYuan XSS-to-RCE via unescaped block metadata in hint popup

Type: advisorySource: Official CVE List1 source record

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. ) 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.

Announced Group revision 1
Original source ↗

CVE-2026-75916

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-75916

siyuan

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "siyuan-note",
    "product": "siyuan",
    "packageURL": "pkg:golang/github.com/siyuan-note/siyuan/kernel",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-75916

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#12999 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement