Skip to main content

SiYuan EUVDEUVD-2026-87737

| CVE-2026-100643 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-26 VulnCheck GHSA-3pv4-cp72-vhj4
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege SiYuan user
  2. Delivery
    Inject JS into Attribute View field/template/footer value
  3. Exploit
    Payload stored unescaped in textarea
  4. Execution
    Victim opens affected database menu
  5. Persist
    Script executes in victim context
  6. Impact
    Electron nodeIntegration yields OS command execution

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

Requires an authenticated attacker with write access to Attribute View content (PR:L) to inject payloads into one of four specific fields: field descriptions, template sources, select option descriptions, or footer calculation templates. Execution requires a second user to open the affected database menu (UI:A/victim interaction), so this favors multi-user or shared-workspace deployments. Full command execution is gated on the Electron desktop app being built/configured with nodeIntegration enabled; browser access or a hardened Electron configuration (nodeIntegration disabled) limits impact to script execution in the victim's session rather than host RCE. Affected versions are SiYuan 2.10.8 through before 3.8.4.

Impact

This is a genuine but conditionally-gated stored XSS with an escalation path to code execution. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H) scores 8.5 HIGH, but two structural limiters temper the real-world risk: PR:L means the attacker must already be an authenticated user with write access to Attribute View fields, and UI:A means a *second* victim user must open the affected database menu for the payload to fire. The VC:H/VI:H/VA:H (full compromise) rating is only justified on the Electron desktop app with nodeIntegration enabled, where XSS escalates to OS command execution with SiYuan's process privileges; in a plain browser or a hardened Electron config (nodeIntegration disabled), impact collapses to session-scoped script execution in the victim's context. No EPSS score, no CISA KEV listing, and no public POC were provided - consistent with a freshly-disclosed, VulnCheck-reported advisory rather than an actively-exploited flaw. Net: a real priority for the specific self-hosted-Electron threat model (insider or multi-user shared workspace), but not a widespread mass-exploitation risk. The vendor's SC:N/SI:N/SA:N is arguably too low, since the nodeIntegration RCE path crosses from the renderer into the host OS.

Exploit ScenarioDerived

An authenticated user on a shared or multi-user SiYuan instance edits an Attribute View field description, template source, select-option description, or footer calculation template, embedding a JavaScript payload that is stored unescaped in a textarea. When another user (e.g., an admin) later opens the affected database menu, the script executes in their context; on the Electron desktop build with nodeIntegration enabled, the payload runs OS commands with SiYuan's process privileges. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 26, 2026

Stored cross-site scripting in SiYuan before v3.8.4 allows an authenticated attacker with write access to Attribute View content to persist JavaScript in four unsanitized textarea-backed fields - field descriptions, template sources, select option descriptions, and footer calculation templates - which then executes in the browser session of any user who opens the affected database menu. The desktop Electron build escalates the issue to command execution with SiYuan process privileges when nodeIntegration is enabled, while browser or hardened Electron deployments cap impact at script execution in the victim's session. Vendor-released patch: v3.8.4; no public exploit identified at time of analysis, and the vendor/GHSA advisory plus a VulnCheck advisory are the primary references. CVSS 4.0 base score is 8.5; our independent CVSS 3.1 assessment is AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H, consistent with a genuine but conditionally-gated stored XSS whose RCE escalation depends on the nodeIntegration setting.

RemediationAI

Vendor-released patch: upgrade SiYuan to v3.8.4 or later, as documented in the GitHub Security Advisory GHSA-h3p6-c22r-fx2j (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h3p6-c22r-fx2j) and corroborated by the VulnCheck advisory (https://www.vulncheck.com/advisories/siyuan-before-3.8.4-stored-xss-via-attribute-view-textarea); patch status is listed as available from the vendor. If immediate upgrade is not possible, reduce exposure by restricting who can create or edit Attribute View content - field descriptions, template sources, select option descriptions, and footer calculation templates - to trusted users only, since the injection prerequisite is authenticated write access to those fields; note the trade-off that this breaks normal collaborative database authoring for untrusted contributors. For desktop deployments, verify that nodeIntegration is disabled (or migrate users to the browser client) so that the residual XSS cannot reach Node.js APIs and become command execution, accepting that some Electron plugins or integrations relying on nodeIntegration may stop working. Also treat review of existing Attribute View metadata as a cleanup step, because the payloads are stored and will keep firing until the fields are edited or the instance is patched, and monitor for anomalous SiYuan process activity as a compensating detection layer rather than a preventive control.

Affected VersionsENISA

SiYuan 2.10.8 <3.8.4

Affected Packages

euvd siyuan fix: 3.8.4

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, self-hosted knowledge-management and note-taking application that exposes databases through an 'Attribute View' abstraction, where each view carries metadata such as field descriptions, template sources, select option descriptions, and footer calculation templates. The root cause is CWE-79 (improper neutralization of input during web page generation, i.e., cross-site scripting): those four values are written into textarea elements without proper HTML/JavaScript escaping, so attacker-supplied markup survives storage and re-renders when another user opens the associated database menu. Because SiYuan's desktop client is built on Electron, the impact ceiling depends on configuration - when nodeIntegration is enabled the renderer can reach Node.js APIs, turning stored script execution into command execution running with the privileges of the SiYuan process; when nodeIntegration is disabled or the instance is accessed through a browser, the payload is confined to the victim's SiYuan session context. The affected product is identified by CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* spanning versions from 2.10.8 up to, but not including, 3.8.4, and the attack requires both a low-privileged authenticated writer for injection (PR:L) and a second user's interaction to trigger rendering (UI:R per the independent 3.1 vector).

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.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.0 CRITICAL

Authenticated writer (PR:L) plants payload that fires on victim action (UI:R); scope changes as renderer XSS escapes to OS command execution via Electron nodeIntegration, yielding high C/I/A.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/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:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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

Lifecycle Timeline

2
Patch available
Sep 26, 2026 - 14:02 EUVD
CVE Published
Sep 26, 2026 - 13:23 cve.org
HIGH 8.5

DescriptionCVE.org

SiYuan versions before v3.8.4 fail to properly escape four stored Attribute View values in textarea elements, allowing authenticated attackers to inject JavaScript by modifying field descriptions, template sources, select option descriptions, or footer calculation templates. Attackers can execute stored JavaScript when other users open affected database menus, and in the Electron desktop app with nodeIntegration enabled, this leads to command execution with SiYuan process privileges.

Technical POC Analysis

Advisory note: the GitHub advisory (GHSA-h3p6-c22r-fx2j) rates this Critical 9.0 with "No known CVE"; the CVE ID, HIGH rating and CVSS 4.0 score of 8.5 come from the tracking record.

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 versions before v3.8.4 contain a stored cross-site scripting flaw in Attribute View content that executes in the browser session of any user opening an affected database menu. An authenticated attacker with write access could persist malicious JavaScript, and on desktop Electron builds with nodeIntegration enabled this may escalate to command execution with SiYuan process privileges, while browser and hardened Electron deployments are limited to script execution in the victim’s session. Leadership should prioritize patching because affected users may face session compromise and, in desktop configurations, endpoint compromise; vendor-released patch v3.8.4 is available and no public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
popular ~35k-star open-source self-hosted PKM/note app, largely individual use
Data Quality
6 sources
Confidence: High

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 Yes
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

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