Impact
SiYuan’s desktop client embeds marketplace card data inside a single‑quoted data-obj attribute without escaping untrusted fields such as the package name. A package name containing a single quote can break out of the attribute and inject arbitrary HTML. Because the main BrowserWindow is configured with nodeIntegration enabled and contextIsolation disabled, the injected markup can access the Node.js API and execute OS commands, turning the stored cross‑site scripting flaw into Remote Code Execution for the user.
Affected Systems
SiYuan personal knowledge management system, all releases older than version 3.7.0, where the marketplace rendering code uses an unescaped data-obj attribute. Any build that shows marketplace cards without proper escaping is affected.
Risk and Exploitability
The CVSS score is 9.0 and the vulnerability is not flagged by CISA as a known exploited vulnerability; EPSS information is not available. Attack requires the user to load a malicious package from the marketplace; the local environment then allows execution of arbitrary commands, giving system‑level access on the victim’s machine.
OpenCVE Enrichment