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

- Severity: Critical 9.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-24T21:24:21.266Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-79, CWE-94, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.0

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x88j-wgpr-h22x> (exploit)

## Sources

- CVE List: [CVE-2026-55570](https://www.cve.org/CVERecord?id=CVE-2026-55570), CVE Terms of Use, modified 2026-06-25
- NVD: [CVE-2026-55570](https://nvd.nist.gov/vuln/detail/CVE-2026-55570), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-55570 · Whole record: https://cve.day/CVE-2026-55570.json · Rebuilt by cve.day 2026-11-25T22:59:25.764Z
