CVE-2026-32751: Vulnerability in B3log Siyuan
Critical. SiYuan's 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.
Go, CWE-79
- Exploitation
- None confirmed
- Severity
- 9 of 10
- Attack likelihood
- 1 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-qr46-rcv3-4hq3
- EU ID
- EUVD-2026-13217
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- Weakness
- CWE-79
- Published
- 16 Mar 2026
- Last change
- 17 Jun 2026
- Likelihood rank
- Higher than 61 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- B3log Siyuan Before 3.6.1. Fixed in 3.6.1
Affected packages
Vulnerable version ranges and fixed releases
- github.com/siyuan-note/siyuan/kernel Go, Affected through 0.0.0-20260313024916-fd6526133bb3. No fixed version recorded
Patches and fixes
Updates, commits and release notes
- github.com/siyuan-note/siyuan/commit/f6d35103f774b65e52f03e018649ff0e57924fb0
- github.com/siyuan-note/siyuan/releases/tag/v3.6.1
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Siyuan vulnerabilities Recent advisories, watch this product