# CVE-2026-44670: SiYuan: Stored XSS via Attribute View name to Electron renderer RCE in SiYuan

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA: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.55%, higher than 40% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T16:53:18.000Z
- Modified: 2026-06-17T10:51:13.280Z
- Also known as: GHSA-2h64-c999-c9r6, GO-2026-4992
- Weaknesses: CWE-79, CWE-94, CWE-1188
- 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, the kernel stores Attribute View (AV / database) names without any HTML escape, then a render template uses raw strings.ReplaceAll(tpl, "${avName}", nodeAvName) to embed the name in HTML before pushing to all clients via WebSocket. Three independent client paths (render.ts:120 → outerHTML, Title.ts:401 → innerHTML, transaction.ts:559 → innerHTML) consume the value without escaping. Because the main BrowserWindow runs nodeIntegration:true, contextIsolation:false, webSecurity:false (app/electron/main.js:407-411), HTML injection in the renderer becomes Node.js code execution. This vulnerability is fixed in 3.7.0.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.0
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260512140701-d7b77d945e0d

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2h64-c999-c9r6> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44670> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-44670](https://www.cve.org/CVERecord?id=CVE-2026-44670), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-2h64-c999-c9r6](https://github.com/advisories/GHSA-2h64-c999-c9r6), CC-BY-4.0, modified 2026-06-08
- Go Vulnerability Database: [GO-2026-4992](https://pkg.go.dev/vuln/GO-2026-4992), CC-BY-4.0, modified 2026-05-20
- NVD: [CVE-2026-44670](https://nvd.nist.gov/vuln/detail/CVE-2026-44670), Public domain, modified 2026-06-17

---

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