# CVE-2026-32751: SiYuan Vulnerable to Remote Code Execution via Stored XSS in Notebook Name - Mobile Interface

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/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.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T18:47:37.000Z
- Modified: 2026-06-17T10:36:19.370Z
- Also known as: GHSA-qr46-rcv3-4hq3, GO-2026-4706
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the mobile file tree (MobileFiles.ts) renders notebook names via innerHTML without HTML escaping when processing renamenotebook WebSocket events. The desktop version (Files.ts) properly uses escapeHtml() for the same operation. An authenticated user who can rename notebooks can inject arbitrary HTML/JavaScript that executes on any mobile client viewing the file tree. Since Electron is configured with nodeIntegration: true and contextIsolation: false, the injected JavaScript has full Node.js access, escalating stored XSS to full remote code execution. The mobile layout is also used in the Electron desktop app when the window is narrow, making this exploitable on desktop as well. This issue has been fixed in version 3.6.1.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.6.1
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20260313024916-fd6526133bb3; all versions
- b3log siyuan: before 3.6.1

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qr46-rcv3-4hq3> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/f6d35103f774b65e52f03e018649ff0e57924fb0> (patch, web)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32751> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-32751](https://www.cve.org/CVERecord?id=CVE-2026-32751), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-qr46-rcv3-4hq3](https://github.com/advisories/GHSA-qr46-rcv3-4hq3), CC-BY-4.0, modified 2026-03-30
- Go Vulnerability Database: [GO-2026-4706](https://pkg.go.dev/vuln/GO-2026-4706), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-32751](https://nvd.nist.gov/vuln/detail/CVE-2026-32751), Public domain, modified 2026-06-17

---

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