Advisory record · GHSA-phhp-9rm9-6gr2

SiYuan: Remote Code Execution in the Electron desktop client via stored XSS in synced table captions

CVSS 9.1 CriticalCriticalEPSS 0.0056 · 47th percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 8 Apr 2026, 15:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/siyuan-note/siyuan/kernelGo<0.0.0-20260407035653-2f416e5253f10.0.0-20260407035653-2f416e5253f1
Identifiers
GHSA-phhp-9rm9-6gr2 · CVE-2026-39846 · GO-2026-5540
Weakness (CWE)
CWE-79 · CWE-94
Published
8 Apr 2026
Updated
25 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The SiYuan Go kernel package github.com/siyuan-note/siyuan/kernel, at versions before 0.0.0-20260407035653-2f416e5253f1, has a stored cross-site scripting flaw in table captions. A crafted note synced from another user can run attacker-controlled JavaScript when the victim opens it. In the Electron desktop client, where Node.js APIs are reachable from the renderer, this can lead to code execution as the logged-in user. Upgrade to 0.0.0-20260407035653-2f416e5253f1 or later.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.1 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0056, the 47th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:06 UTC First seen by agentprime
  2. 31 Oct 2026, 15:06 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.