Skip to main content

SiYuan CVE-2026-145038

| EUVDEUVD-2026-144336 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-12-04 VulnCheck
9.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft notebook archive with malicious asset names
  2. Delivery
    Deliver archive to victim via sharing/social engineering
  3. Exploit
    Victim imports archive into encrypted notebook
  4. Execution
    Script executes when cleanup dialog is opened
  5. Impact
    Access desktop files reachable by SiYuan

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 that the victim imports an untrusted notebook archive specifically into an encrypted notebook and then opens that notebook's unused asset cleanup dialog; the crafted payload is carried in imported asset names that the dialog fails to treat as plain text. Limiting factors: the attack needs victim-initiated import of an attacker-supplied archive plus the subsequent dialog interaction (reflected as UI:P and the AT:P attack requirement), it is scoped to the encrypted-notebook cleanup workflow, and meaningful file-access impact is tied to the desktop deployment. The vendor states the only complete fix is upgrading to 3.8.11; as interim mitigation, avoid importing untrusted archives into encrypted notebooks and, if one was already imported, avoid opening that notebook's unused asset cleanup dialog until upgraded.

Impact

Signals are mixed. The input CVSS 4.0 base score is 9.0 (critical) with AV:N and PR:N, and vuln.today assigns an act_now decision label, so this should be treated as a priority for the affected SiYuan versions. However, the same vector carries AC:H, AT:P, and UI:P, meaning exploitation is gated behind a specific attacker-controlled precondition and passive victim interaction rather than being trivially remote. No EPSS probability was provided, the CVE is not listed in CISA KEV, and no exploit/PoC reference is present in the input - only vendor and VulnCheck advisories. Taken together, the critical score reflects the potential desktop file impact if the stored XSS fires, but the realistic likelihood of widespread opportunistic exploitation is lower than the raw score suggests because the victim must be socially engineered into importing an untrusted archive and opening a particular dialog. This is best read as a high-impact, interaction-dependent issue warranting prompt upgrade (consistent with act_now) rather than a self-propagating remote flaw. Note the tension: AV:N plus the act_now label elevate urgency, while AC:H/AT:P/UI:P and the absence of KEV/EPSS/PoC point toward targeted rather than mass exploitation.

Exploit ScenarioDerived

An attacker crafts a SiYuan notebook archive containing assets whose names embed script payloads and distributes it to a target (e.g., as a shared notebook export). When the victim imports the archive into an encrypted notebook and later opens the unused asset cleanup dialog, the asset name is rendered without being treated as plain text and the script executes in the SiYuan interface, which on desktop can reach files accessible to the application. No public exploit code is identified in the provided sources.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available

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

Alert me

AnalysisAIv1 – Dec 04, 2026

Stored cross-site scripting in SiYuan 3.8.8-alpha.4 through 3.8.11-rc.3 allows script to run in the SiYuan interface when a victim imports an attacker-supplied notebook archive into an encrypted notebook and later opens that notebook's unused asset cleanup dialog. The crafted payload is carried in asset names that the dialog does not treat as plain text, and on desktop deployments this can put files accessible to SiYuan at risk. No public exploit was identified at time of analysis; the vendor-released fix is SiYuan 3.8.11, and the priority label is act_now.

RemediationAI

Vendor-released patch: 3.8.11. Upgrade to SiYuan 3.8.11 or later; the vendor states this is the only complete fix and that the affected kernel package is fixed in 3.8.11. Until upgraded, avoid importing untrusted notebook archives into encrypted notebooks, and if such an archive has already been imported, avoid opening that notebook's unused asset cleanup dialog. Vendor advisory: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-78xr-q649-34c6; VulnCheck advisory: https://www.vulncheck.com/advisories/siyuan-3.8.8-alpha.4-before-3.8.11-stored-xss-via-encrypted-notebook-asset-cleanup.

Affected VersionsENISA

SiYuan 3.8.8-alpha.4 <3.8.11

Affected Packages

euvd siyuan fix: 3.8.11

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 note-taking and knowledge-management application, and the affected package is identified as other/github.com/siyuan-note/siyuan/kernel. The flaw is CWE-79 cross-site scripting: imported asset names in an encrypted notebook are rendered by the unused asset cleanup dialog without being consistently treated as plain text, so a notebook archive containing crafted asset names can store script that executes in the SiYuan interface when the cleanup dialog is opened. Source evidence lists versions from v3.8.8-alpha.4 through v3.8.11-rc.3 as vulnerable, with the fix in 3.8.11. The assessed CVSS:3.1 vector is AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N, reflecting that exploitation requires the victim to import an untrusted archive into an encrypted notebook and then interact with the cleanup dialog, while meaningful file-access impact is tied to the desktop deployment.

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

Crafted archive plus required import and dialog interaction give AC:H/UI:R, no auth gives PR:N, and script escaping the UI to reach desktop files gives S:C with C:H/I:H; availability impact is not established.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Dec 04, 2026 - 17:18 EUVD
CVE Published
Dec 04, 2026 - 16:10 cve.org
CRITICAL 9.0

DescriptionCVE.org

SiYuan 3.8.8-alpha.4 before 3.8.11 contains a stored cross-site scripting vulnerability because the unused asset cleanup dialog for encrypted notebooks does not treat imported asset names as plain text. Attackers can supply a notebook archive with crafted asset names that execute script in the SiYuan interface when a victim imports it and opens the cleanup dialog, putting desktop files at risk.

Technical POC Analysis

Bug class: CWE-79 - Improper Neutralization of Input During Web Page Generation, i.e.

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

A critical stored cross-site scripting vulnerability in SiYuan note-taking software (versions 3.8.8-alpha.4 through 3.8.11-rc.3) allows an attacker to execute malicious scripts when a victim imports a crafted notebook archive into an encrypted notebook and then opens the unused asset cleanup dialog. This affects desktop deployments, where the script could access files available to SiYuan, potentially leading to data exposure or further compromise. Leadership should prioritize remediation because the issue requires user interaction (import and dialog open) but can be delivered via a seemingly legitimate notebook file, making it a targeted risk for teams using affected SiYuan versions.

Business Impact: High
Compensating Controls

Vendor-released patch: SiYuan 3.8.11

Threat Intelligence Overview

Prevalence
Low
niche open-source personal knowledge/note-taking app, limited production footprint
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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 CRITICAL
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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