9.1

CVE-2026-39846: b3log siyuan Cross-site Scripting

CVSS: 9.1v3.1CriticalAnalyzed
AliasesGHSA-phhp-9rm9-6gr2GO-2026-5540
Published 07-04-2026Last modified 08-04-2026

Vulnerability summary

CVE-2026-39846 is a critical (CVSS 9.1) Cross-site Scripting vulnerability in b3log siyuan. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 50.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.65%
0%100%
Low · +0.11 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 07-04-2026
    PublishedVulnerability first disclosed.
  2. 08-04-2026
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

+0.11 pp

From 0.54% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.65%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Siyuan

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

B3log1 product
Github.com/siyuan-note/siyuan1 product
  • kernel< 0.0.0-20260407035653-2f416e5253f1
Siyuan-note1 product

3 vendors · 3 products

References

3 links