CVE-2026-32751: SiYuan - Stored XSS & Remote Code Execution
- Cve: CVE-2026-32751
- Name: SiYuan - Stored XSS & Remote Code Execution
- 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.
- Impact: Authenticated users can execute arbitrary code with full Node.js access, leading to remote code execution on mobile and narrow-window desktop clients.
- Remediation: Update to version 3.6.1 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be authenticated and able to rename notebooks
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- Epss score: 0.00919
- Epss percentile: 0.61002
- Assignee: [email protected]
- Published at: 2026-03-19T22:16:41Z
- Age in days: 250
- Modified at: 2026-06-17T10:36:19Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-32751
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qr46-rcv3-4hq3 | nvd | 2026-03-19 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/siyuan-note/siyuan/commit/f6d35103f774b65e52f03e018649ff0e57924fb0 | Patch |
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qr46-rcv3-4hq3 | Exploit, Mitigation, Vendor Advisory |
| https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| b3log:siyuan | < 3.6.1 | no | nvd | /v1/products/b3log/siyuan |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| siyuan-note/siyuan | commit, fix, package, releases, security_advisory | yes | /v1/repositories/siyuan-note/siyuan |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-19
- Remote: yes
- Authentication required: yes
- Exposed hosts: 354
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports