Skip to main content

SiYuan EUVDEUVD-2026-145651

| CVE-2026-145556 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-12-05 VulnCheck GHSA-hpcx-2w3f-f523
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 web page with malicious title/URL metadata
  2. Delivery
    Victim clips the page into SiYuan Inbox
  3. Exploit
    Victim opens the clipped entry in renderer
  4. Execution
    Unescaped metadata executes JavaScript
  5. Impact
    Kernel API reads and modifies notes and files

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 use SiYuan's web clipper to clip a page whose title (shorthandTitle), URL (shorthandURL) or description (shorthandDesc) is attacker-controlled, and then open that clipped entry in the Inbox dock detail view - the payload is stored and only fires on open (UI:P). The dangerous read/modify-notes-and-files impact depends on the renderer running in a local-kernel session where the kernel API is reachable; the fix explicitly sanitizes rich clip content 'on desktop and mobile regardless of the kernel connection,' indicating the pre-patch exposure centered on local-kernel renderer sessions. Limiting factors: the attacker cannot trigger execution directly - they must induce or wait for the victim to clip a page under their control and subsequently open it, and affected versions are SiYuan before 3.9.0-alpha.14 (vulnerable <= 3.9.0-alpha.12 per the GHSA package data).

Impact

The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) scores 8.6 (high): network-reachable, low complexity, no attacker authentication, but requiring passive user interaction - the victim must clip the attacker-influenced page and then open the entry in the Inbox dock. No EPSS probability was provided, the vulnerability is not listed in CISA KEV, and no public exploit or PoC reference is present in the supplied data, so this is not confirmed active exploitation - it is a credible but not-yet-weaponized stored-XSS issue. The vuln.today Decision label is 'this_week', which is consistent with a serious client-side flaw that still depends on victim action rather than an emergency. The practical impact is elevated beyond a typical reflected XSS because the script runs in the SiYuan renderer within a local-kernel session and can call the kernel API to read and modify the victim's notes and files (hence VC:H/VI:H), but the UI:P requirement and the need for the attacker to control page metadata that the victim chooses to clip limit mass, opportunistic exploitation. Net: a real priority to patch for SiYuan desktop users, but driven by the local-data impact rather than by any evidence of widespread or automated exploitation.

Exploit ScenarioDerived

An attacker publishes or controls a web page whose title or URL contains an HTML/script payload in place of ordinary metadata. A SiYuan user clips that page with the web clipper, storing the malicious shorthandTitle/shorthandURL/shorthandDesc in their Inbox; when they later open the clipped entry, the unescaped metadata executes JavaScript in the SiYuan renderer, which then uses the kernel API to read and modify the victim's notes and files. No public exploit code is identified in the provided data, though a GitHub security advisory and the fix commit publicly describe the flawed code path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 05, 2026

Stored cross-site scripting in SiYuan's Inbox dock lets an attacker who controls the title, URL or description of a web-clipped page run JavaScript in the SiYuan renderer once the victim clips that page and later opens the entry. The injected script runs in the client's local-kernel session and can call the kernel API to read and modify notes and files, although that read/write impact depends on the renderer having kernel API access; exploitation is stored and only fires on open, so it requires the victim to clip the attacker-influenced page and then open it. SiYuan releases before 3.9.0-alpha.14 are affected (GHSA package data: vulnerable <= 3.9.0-alpha.12, fixed in 3.9.0); the vendor patch is commit 299c7672 with the v3.9.0-alpha.14 pre-release published, and no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: SiYuan 3.9.0, per the GHSA package data (fixed in 3.9.0), delivered by fix commit 299c7672eceeb1926e639c89715085912ae9900c on the dev branch and available in the v3.9.0-alpha.14 pre-release build; upgrade to 3.9.0 or later, and if a pre-release is acceptable, to v3.9.0-alpha.14, from https://github.com/siyuan-note/siyuan/releases/tag/v3.9.0-alpha.14. The patch escapes Inbox titles and descriptions as text, sanitizes rich clip content with DOMPurify, and restricts source links to HTTP and HTTPS, so it also removes the href-based injection path; the vendor documents no separate configuration workaround beyond updating. Until the upgrade is applied, the practical compensating control is to avoid clipping - or avoid opening in the Inbox detail view - entries originating from pages you do not trust, since the payload is stored and only renders on open, at the cost of making the Inbox unusable for such clips; full fix details are in https://github.com/siyuan-note/siyuan/security/advisories/GHSA-43f7-xj5x-mc34 and https://github.com/siyuan-note/siyuan/commit/299c7672eceeb1926e639c89715085912ae9900c.

Affected VersionsENISA

SiYuan 0 <3.9.0-alpha.14

Affected Packages

euvd siyuan fix: 3.9.0-alpha.14

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 knowledge management application whose front end (Electron desktop shell and mobile app) talks to a Go 'kernel' over a local HTTP API that exposes note and file operations. The Inbox dock stores entries produced by the web clipper, each carrying shorthandTitle, shorthandURL, shorthandDesc and shorthandContent. Before the fix, Inbox.ts built both the list row and the detail view by string concatenation: shorthandTitle and shorthandDesc were interpolated into element text and title attributes, shorthandURL was placed directly inside an <a href="..."> attribute, and shorthandContent was written into the detail pane without sanitization - a CWE-79 stored/rendered-HTML flaw rooted in unescaped externally supplied clip metadata. The fix commit 299c7672 applies escapeHtmlTextAndAttr to the title, description, oId and hCreated values, runs shorthandContent through DOMPurify with the HTML profile and ALLOW_DATA_ATTR disabled, gates the source link behind isExternalURLAllowed so only HTTP/HTTPS URLs render, and adds rel="noopener noreferrer". The advisory notes rich clip content is now sanitized on desktop and mobile regardless of kernel connection, which points to local-kernel renderer sessions as the path to the kernel-API read/modify impact; because the payload is stored and renders only when the clipped entry is opened, the CVSS interaction metric is UI:P/UI:R rather than none.

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:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network-delivered stored XSS, no attacker auth (PR:N), but victim must clip and open the entry (UI:R); payload reads/modifies notes and files via kernel API, so C:H/I:H, A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/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
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

SiYuan before 3.9.0-alpha.14 contains a stored cross-site scripting vulnerability in the Inbox dock that allows attackers to inject script through unsanitized shorthandTitle, shorthandURL and shorthandDesc fields of clipped entries. Attackers controlling a web page title or URL can execute JavaScript in the SiYuan renderer when victims clip and open the entry, then use the kernel API to read and modify notes and files.

Technical POC Analysis

CWE-79 (stored cross-site scripting).

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, a knowledge management tool, has a stored cross-site scripting (XSS) vulnerability that could allow an attacker to execute JavaScript in a victim's SiYuan session when they clip a malicious web page. This could lead to unauthorized access and modification of the victim's notes and files, potentially compromising sensitive organizational data. Leadership should prioritize patching because the vulnerability is high severity and exploitation may lead to data breaches.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Low
open-source niche personal note-taking app, limited enterprise deployment
Social Media
4
Sightings
Data Quality
3 sources
Confidence: Low

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 N/A
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

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