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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-19 · Modified: 2026-03-24
- Aliases: GHSA-qr46-rcv3-4hq3, GO-2026-4706
- Record: https://cvemate.com/vulnerability/CVE-2026-32751 · JSON: https://cvemate.com/vulnerability/CVE-2026-32751/json

## Description

```text
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.
```

## Signals

- CVSS: 9 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.919%, percentile 61.48%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- b3log siyuan: \< 3.6.1
- github.com/siyuan-note/siyuan kernel (Go): ≤ 0.0.0-20260313024916-fd6526133bb3 \| All versions (No fix recorded)
- siyuan-note siyuan: \< 3.6.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qr46-rcv3-4hq3>
- <https://github.com/siyuan-note/siyuan/commit/f6d35103f774b65e52f03e018649ff0e57924fb0>
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32751>
- <https://github.com/siyuan-note/siyuan>

---

Data as of 2026-12-05T09:59:49.261Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
