Skip to main content

SiYuan EUVDEUVD-2026-83459

| CVE-2026-93923 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-18 VulnCheck GHSA-qvp6-cjg5-8753
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft notebook with malicious heading style
  2. Delivery
    Deliver notebook to victim (share/import)
  3. Exploit
    Victim opens notebook, dock renders unescaped HTML
  4. Execution
    Script executes in Electron renderer
  5. Impact
    Achieve code execution with full system access

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 the attacker to inject a crafted heading style attribute either by supplying a malicious SiYuan notebook that the victim imports/opens, or by calling SiYuan's administrative endpoints (the latter implying authenticated access). The malicious value only fires when the outline dock or bookmark dock renders the unescaped heading HTML, so a victim must view content that surfaces the affected heading (UI:A / user interaction is required - no purely passive remote exploitation). The severe outcome (host compromise) is conditioned on SiYuan running as an Electron desktop app whose renderer has full system/Node access; a hardened or sandboxed renderer configuration would reduce impact to script execution only. Affected: SiYuan through 3.8.4.

Impact

This is a genuine high-priority issue whose real-world impact exceeds a typical stored-XSS finding because the payload executes in SiYuan's Electron renderer 'with full system access' - meaning the flaw is effectively a client-side XSS-to-RCE, not just script execution in a sandboxed browser context. The vendor CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:A/VC:H/VI:H/VA:H, score 8.6) is consistent with a network-deliverable, low-complexity attack that requires victim interaction (UI:A) - the victim must open the malicious notebook or render the affected outline/bookmark dock. No EPSS score, CISA KEV listing, or public POC is provided in the input, so per precision rules this is 'no public exploit identified at time of analysis'; the absence of these signals suggests exploitation is not yet widespread. One tension to flag: the description offers TWO injection paths - 'crafted notebooks' (which a victim could import/open without the attacker needing an account, supporting PR:N) and 'administrative endpoints' (which would require authenticated access). The vendor scored PR:N, which is defensible via the crafted-notebook path, but defenders should note the admin-endpoint path is authenticated. Overall: real priority for SiYuan users because the impact is host compromise, but exploitation depends on user interaction and social delivery of a malicious notebook rather than remote drive-by.

Exploit ScenarioDerived

An attacker crafts a SiYuan notebook containing a heading whose style attribute embeds a malicious value; when a victim imports or opens that notebook, the outline or bookmark dock renders the attribute unescaped, executing attacker-controlled script in the Electron renderer. Because the renderer runs with full system access, the payload can pivot from stored XSS to arbitrary code execution on the victim's machine. No public exploit code is identified at time of analysis, but the flaw is reported by VulnCheck with specific vulnerable source lines cited.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% 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 inject malicious style values into heading attributes that the outline and bookmark docks render without escaping, so the payload executes as JavaScript inside SiYuan's Electron renderer - which runs with full system access, making this effectively an XSS-to-code-execution condition on the host rather than ordinary script execution in a sandboxed browser context. Delivery is either a crafted notebook that the victim imports or opens, or abuse of SiYuan's administrative endpoints (the latter implying authenticated access); the payload only fires when the victim surfaces the affected heading in the outline or bookmark dock, so user interaction is required (UI:A) and exploitation is not purely passive. No public exploit identified at time of analysis; the CVE carries a CVSS 4.0 base score of 8.6 and was independently assessed as CVSS 3.1 9.6 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H), reflecting the notebook-import path being unauthenticated while the administrative-endpoint path requires credentials.

RemediationAI

No vendor-released patch identified at time of analysis, so remediation must start with tracking the upstream GitHub advisory GHSA-928g-4hfq-qwvx (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-928g-4hfq-qwvx) and the SiYuan release channel for a fixed build above 3.8.4 before upgrading. Until then, the highest-value compensating controls are: refuse to import, sync, or open SiYuan notebooks from untrusted or external sources, since the unauthenticated vector is a malicious notebook and this single measure removes the primary attack path (trade-off: no collaboration or shared-notebook workflows without prior sanitization); protect and restrict SiYuan's administrative/kernel HTTP endpoints with strong authentication and bind them to localhost rather than exposing them on a network, because the second injection path requires calling those endpoints (trade-off: remote or multi-user access to the kernel API must be dropped or routed through an authenticated proxy); run the desktop client under a low-privilege OS account, in a container or VM, and disable Electron Node integration / enable renderer sandboxing and context isolation where the build allows it, which caps the blast radius of the full-system-access renderer (trade-off: some local file and plugin features may break); and treat any already-imported unfamiliar notebook as untrusted by disabling or avoiding the outline and bookmark docks that trigger the unescaped render, since the payload only executes when that heading HTML is displayed (trade-off: loss of navigation convenience for remaining unpatched and unverified content). Monitor imported content, block untrusted .sy packages at the perimeter if feasible, and re-audit stored headings once an official fix ships.

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 and note-taking application whose kernel is written in Go and whose user interface runs in Electron with a TypeScript/Vue frontend; the desktop renderer is not a hardened browser sandbox and has access to the underlying system, which is why a content-injection flaw escalates beyond typical web XSS. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting): heading style attributes are not escaped on the way into the generated heading HTML. The referenced code pins the failure to both ends of the rendering pipeline - kernel/model/render.go (lines 71-76), where the kernel builds heading markup, and app/src/util/Tree.ts (lines 133 and 194), where the frontend renders the outline and bookmark dock trees. Because the style attribute is emitted verbatim, an attacker-controlled value can break out of the attribute context and introduce script or event-handler content that executes in the renderer origin, where Electron's privileged APIs are reachable; a hardened configuration with context isolation, sandboxing and Node integration disabled would limit the outcome to script execution in the application's own context. The single affected CPE, cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*, indicates that every released version up to and including 3.8.4 is in scope, and the vulnerability was reported by VulnCheck (tags: XSS, Siyuan).

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 9.6 CRITICAL

Network-deliverable via crafted notebook (PR:N) but requires victim to open/render content (UI:R); Electron renderer with full system access breaks out of the app to the OS, so S:C with full C/I/A:H.

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

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 fails to escape heading style attributes when rendering outline and bookmark dock HTML, allowing stored cross-site scripting. Attackers can supply crafted notebooks or call administrative endpoints to inject malicious style values that execute in the Electron renderer with full system access.

Technical POC Analysis

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

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

Executive ViewAI

Why It Matters

SiYuan desktop versions through 3.8.4 are affected by a stored cross-site scripting flaw that escalates to full code execution on the end user's machine, because the application's Electron renderer runs with unrestricted system privileges rather than browser sandboxing. Any employee who imports or opens a maliciously crafted notebook and then views the affected heading in the outline or bookmark dock can trigger host-level compromise, requiring only that a user interact with the content. Because there is no vendor-released patch, leadership should treat this as an unmitigated endpoint risk for every SiYuan installation in the environment, particularly for staff who routinely handle notebooks from external or untrusted sources.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include prohibiting import or opening of notebooks from untrusted or external sources, restricting SiYuan to trusted content only, running the application without administrative privileges on the host, isolating affected endpoints from sensitive network segments and shared repositories, blocking unnecessary outbound network access from the SiYuan process, and monitoring endpoint telemetry for script execution or unexpected child processes spawned by SiYuan's Electron renderer. Note that exploitation requires user interaction: the payload fires only when the victim surfaces the affected heading in the outline or bookmark dock.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular open-source cross-platform note-taking/PKM desktop app, not enterprise-ubiquitous
Social Media
1
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 No
EPSS 0.4%
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

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
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