OSV 1.4.0 · unreviewed · 修改于 2026-08-19 23:32
发布时间
2026-08-19 23:32
GitHub 审查时间
—
NVD 发布时间
2026-08-19 22:17
源文件
advisories/unreviewed/2026/08/GHSA-962c-hgx6-ffmx/GHSA-962c-hgx6-ffmx.json
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.
该公告没有提供结构化的受影响软件包信息。