# CVE-2026-59855: SiYuan: Store XSS To Rce via Asset.render

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T22:19:42.755Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w3gq-5j72-36vc> (exploit)
- <https://github.com/siyuan-note/siyuan/commit/efbe3a557720034782643e55c9e0282530cb6bbb>
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1>

## Sources

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

---

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