Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft web page with malicious title/URL metadata
-
DeliveryVictim clips the page into SiYuan Inbox
-
ExploitVictim opens the clipped entry in renderer
-
ExecutionUnescaped metadata executes JavaScript
-
ImpactKernel 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-145651
GHSA-hpcx-2w3f-f523
NVD
CVE.org
Exploit-DB