Skip to main content

SiYuan CVE-2026-93922

| EUVDEUVD-2026-83458 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-18 VulnCheck GHSA-jfm6-64hf-4hh9
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Create notebook with HTML payload in name
  2. Delivery
    Deliver via sync/import/shared workspace
  3. Exploit
    Victim opens Daily Note picker
  4. Execution
    Unescaped name renders in Electron renderer
  5. Persist
    JavaScript executes with Node.js access
  6. Impact
    Run arbitrary OS commands as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) the attacker to be able to create or inject a notebook whose name contains an HTML/JavaScript payload - implying a shared/synced workspace, server-mode multi-user deployment, or a maliciously crafted notebook imported by the victim; and (2) the victim to open the Daily Note picker dialog, which triggers the unescaped rendering (UI:A/user interaction is the key limiting factor). The Node.js-to-OS-command escalation depends on the SiYuan desktop/Electron client with Node.js integration enabled in the renderer; affected versions are SiYuan through 3.8.4. A pure single-user local instance with no external notebook input meaningfully limits the realistic attack surface.

Impact

This is a genuine high-priority issue, not a high-CVSS-but-low-real-risk case, because the impact chain terminates in OS command execution rather than mere client-side script execution. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H) reflects that stored XSS in the Electron renderer - where Node.js integration is available - escalates from script injection to full arbitrary command execution with the app's OS privileges. Unlike browser-context XSS (which typically warrants only C:L/I:L), the Electron+Node.js context justifies the full VC:H/VI:H/VA:H impact, so the ~8.6 rating is defensible on impact grounds. However, the PR:N (unauthenticated) choice is questionable for a local-first note-taking app: the attacker must be able to create a notebook whose name contains the payload, which in a single-user desktop deployment implies either a shared/synced workspace, server mode, or a maliciously crafted/imported notebook delivered to the victim - verify the intended threat model with the vendor. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data; per exploitation-status rules this is 'no public exploit identified at time of analysis.' Absence of EPSS/KEV suggests no evidence of widespread active exploitation despite the high severity, so treat this as a patch-promptly item driven by impact severity rather than confirmed in-the-wild activity.

Exploit ScenarioDerived

An attacker crafts a notebook whose name contains an HTML/JavaScript payload (delivered via a shared or synced workspace, server-mode multi-user access, or a malicious importable notebook) and gets it into the victim's SiYuan instance. When the victim opens the Daily Note picker dialog, the unescaped name renders as raw HTML in the Electron renderer, executing the JavaScript with Node.js access and running arbitrary OS commands as the victim's user. No public exploit code is identified at time of analysis, though the vendor/VulnCheck advisory documents the vulnerable code paths.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 18, 2026

Stored cross-site scripting in SiYuan through 3.8.4 lets an attacker who can set a notebook name containing an HTML payload have that markup rendered unescaped when the Daily Note picker dialog is opened, executing JavaScript inside the Electron renderer where Node.js integration is available and escalating to operating system command execution. Exploitation is gated by two preconditions: the attacker must be able to create or inject a notebook carrying the payload (a shared or synced workspace, a server-mode multi-user deployment, or an imported malicious notebook), and the victim must open the picker; the assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, while the published CVSS 4.0 score of 8.6 carries PR:N/UI:A, so the two scorings disagree on whether prior privileges are needed. This is treated as a genuine high-priority issue rather than a high-score-but-low-real-risk case, because the impact chain terminates in OS command execution rather than mere client-side script execution; no public exploit code and no confirmed active exploitation were identified at time of analysis, and a purely local single-user instance that never ingests external notebooks has a materially smaller attack surface.

RemediationAI

No vendor-released patch identifying an exact fixed version is present in the available data, so treat all builds through 3.8.4 as vulnerable and monitor the GitHub advisory GHSA-8c2m-33v9-vvqm (github.com/siyuan-note/siyuan/security/advisories/GHSA-8c2m-33v9-vvqm) for the patched release, upgrading as soon as a build above 3.8.4 is published. Until then, apply targeted mitigations rather than generic advice: do not import notebooks packaged by untrusted parties and audit existing workspace directories for notebook names containing HTML metacharacters such as angle brackets, since the payload is persistent until the name is changed. If a shared or synced workspace is unavoidable, restrict who holds write access to notebook creation, because the privilege requirement (assessed as PR:L) is the cheapest control point and removes the injection precondition entirely. To break the XSS-to-OS-command chain, run the desktop client in a dedicated low-privilege OS account or sandbox without access to SSH keys, cloud credentials, or source repositories, or access the workspace through a normal hardened browser against the server mode, where the renderer has no Node.js integration so script execution no longer yields shell access; the trade-off is loss of native desktop features and the fact that in-origin script execution remains possible. Blocking network access to the picker is not practical since it is core UI, so the realistic fallbacks are the sandbox and access-control measures above plus alerting on unexpected child processes spawned by the Electron client.

Affected VersionsENISA

SiYuan 0 ≤3.8.4

Affected Packages

euvd siyuan no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SiYuan is a local-first personal knowledge management application built on Electron for the desktop client with a Go kernel backend that serves the workspace UI; notebooks are filesystem-backed entities whose names are surfaced throughout the frontend. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), a stored XSS class: the Daily Note picker renders notebook names as raw HTML instead of escaping or sanitizing them. The advisory references point directly at the two affected code paths, app/src/util/mount.ts around line 72 and the kernel-side notebook/file handling in kernel/model/file.go around lines 2446-2454 at tag v3.8.4, indicating the flaw spans both the frontend rendering layer and the kernel data model that supplies names. The critical escalation factor is architectural: because the payload executes inside the Electron renderer, which in the desktop build has Node.js integration enabled, a script that would normally be confined to the browser origin can reach Node APIs and run operating system commands. The CPE entry cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* is version-wildcarded, consistent with the advisory scoping all releases through 3.8.4 rather than a single build.

Know when Siyuan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.0 HIGH

Stored payload requires ability to create/inject a notebook name (PR:L) and victim opening the picker (UI:R); Electron+Node.js yields OS command execution, so full C/I/A.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

SiYuan through 3.8.4 renders notebook names as raw HTML in the Daily Note picker dialog without escaping, allowing stored cross-site scripting in the Electron renderer. Attackers can create notebooks with HTML payloads in names that execute JavaScript with Node.js access when the picker opens, enabling operating system command execution.

Technical POC Analysis

CWE-79 (Improper Neutralization of Input During Web Page Generation), stored variant.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

SiYuan note-taking application (versions through 3.8.4) contains a stored cross-site scripting vulnerability that can escalate to operating system command execution on affected endpoints. Organizations using SiYuan in shared, synced, or server-mode multi-user deployments are at risk, as an attacker with the ability to inject a malicious notebook name could compromise any user who opens the Daily Note picker. Leadership should prioritize remediation because the impact chain terminates in full system compromise, though exploitation requires user interaction and, per CVSS 3.1, authenticated (low-privileged) access, while CVSS 4.0 indicates no privileges are needed.

Business Impact: High
Compensating Controls

No vendor-released patch identified; interim mitigations include restricting notebook creation and import to trusted users, avoiding the Daily Note picker, isolating SiYuan in a sandboxed environment with least privilege, and monitoring for suspicious notebook names or script execution. Monitor vendor for patch and apply immediately when available.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Medium
popular open-source local-first note-taking Electron app, sizeable user base
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy