CVE-2026-55570: SiYuan: Stored XSS results to Electron RCE in SiYuan marketplace via unescaped `data-obj` attribute (Bypass for CVE-2026-45375's patch)
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, it does not escape the untrusted fields (name, version, author, description) when they are serialized into the data-obj HTML attribute of each marketplace card. Because the attribute is single-quoted and the value is produced with JSON.stringify() (which does not escape ', <, or >), a package whose name contains a single quote breaks out of the attribute and injects arbitrary HTML. In the desktop client the main BrowserWindow runs with nodeIntegration: true, contextIsolation: false, so the injected markup escalates from DOM XSS to arbitrary OS command execution. This is the same root cause and same impact as the original advisory, reached through a sibling sink the patch did not cover. This vulnerability is fixed in 3.7.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
SiYuanto a version that resolves this vulnerability.Fixed in 3.7.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-55570?
The severity of CVE-2026-55570 is rated as critical with a score of 9.
How do I fix CVE-2026-55570?
To fix CVE-2026-55570, update SiYuan to version 3.7.0 or later, which addresses the unescaped data issue.
What risk does CVE-2026-55570 pose?
CVE-2026-55570 poses a risk of stored cross-site scripting (XSS) leading to remote code execution in the SiYuan marketplace.
When was CVE-2026-55570 published?
CVE-2026-55570 was published on June 24, 2026.
What type of vulnerability is CVE-2026-55570 classified as?
CVE-2026-55570 is classified as an XSS vulnerability and a code injection vulnerability.