← Vulnerability feed

Vulnerability record · CVE-2026-39846 · published 7 April 2026

CVE-2026-39846: B3log siyuan cross-site scripting vulnerability

B3log · Siyuan

SiYuan is a personal knowledge management system. Prior to 3.6.4, a malicious note synced to another user can trigger remote code execution in the SiYuan Electron desktop client. The root cause is that table caption content is stored without safe escaping and later unescaped into rendered HTML, creating a stored XSS sink. Because the desktop renderer runs with nodeIntegration enabled and contextIsolation disabled, attacker-controlled JavaScript executes with access to Node.js APIs. In practice, an attacker can import a crafted note into a synced workspace, wait for the victim to sync, and achieve code execution when the victim opens the note. This vulnerability is fixed in 3.6.4.

9.0 CVSS 3.1 Critical EPSS 0.65% · top 50.9% CWE-79 · Cross-site scriptingCWE-94 · Code injection
9.0CVSS 3.1 base score
0.65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
20 Jul 2026Last modified by NVD

Description

SiYuan is a personal knowledge management system. Prior to 3.6.4, a malicious note synced to another user can trigger remote code execution in the SiYuan Electron desktop client. The root cause is that table caption content is stored without safe escaping and later unescaped into rendered HTML, creating a stored XSS sink. Because the desktop renderer runs with nodeIntegration enabled and contextIsolation disabled, attacker-controlled JavaScript executes with access to Node.js APIs. In practice, an attacker can import a crafted note into a synced workspace, wait for the victim to sync, and achieve code execution when the victim opens the note. This vulnerability is fixed in 3.6.4.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-39846 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-32767B3log siyuan sql injection vulnerabilitySiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextS…EPSS 0.70%9.8CVE-2026-30869B3log siyuan path traversal vulnerabilitySiYuan is a personal knowledge management system. Prior to 3.5.10, a path traversal vulnerability in the /export endpoint allows an attacker to read …EPSS 1.1%9.8CVE-2024-53507B3log siyuan sql injection vulnerabilityA SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.EPSS 0.57%9.8CVE-2024-53504B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory.EPSS 0.57%9.8CVE-2024-53505B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent.EPSS 0.51%9.8CVE-2024-53506B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs.EPSS 0.54%9.6CVE-2026-34449B3log siyuan vulnerabilitySiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop …EPSS 0.80%9.1CVE-2026-32749B3log siyuan path traversal vulnerabilitySiYuan is a personal knowledge management system. In versions 3.6.0 and below, POST /api/import/importSY and POST /api/import/importZipMd write uploa…EPSS 0.57%

Source: NIST National Vulnerability Database (record CVE-2026-39846), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.