CVE-2026-32751
CVE-2026-32751 is a critical-severity vulnerability in B3log Siyuan with a CVSS 3.x base score of 9.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Critical (CVSS 3.x base score 9.0)
- CVSS v4: 5.1
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-13217
- Weakness: CWE-79
- Affected product: B3log Siyuan
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-32751?
- 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.
- How severe is CVE-2026-32751?
- CVE-2026-32751 has a CVSS 3.x base score of 9.0, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-32751 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-32751?
- CVE-2026-32751 affects B3log Siyuan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-32751?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-32751 have an EU (EUVD) identifier?
- Yes. CVE-2026-32751 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-13217.
- When was CVE-2026-32751 published?
- CVE-2026-32751 was published on 2026-03-19 and last updated on 2026-06-17.
References
- https://github.com/siyuan-note/siyuan/commit/f6d35103f774b65e52f03e018649ff0e57924fb0
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qr46-rcv3-4hq3
Affected products (1)
- cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
More vulnerabilities in B3log Siyuan
- CVE-2026-32938 — Critical (CVSS 9.9): SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the /api/lute/html2BlockDOM on the…
- CVE-2026-33670 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, the /api/file/readDir interface was used to…
- CVE-2026-33669 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the…
- CVE-2026-32767 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass…
- CVE-2024-55660 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig`…
- CVE-2024-53507 — Critical (CVSS 9.8): A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.
All CVEs affecting B3log Siyuan →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →