Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated admin access to SiYuan
-
DeliveryCall exportBrowserHTML with traversal in folder param
-
ExploitEscape export dir to kernel-writable path
-
ExecutionOverwrite index.html with malicious HTML
-
ImpactStored XSS executes / workspace defaced
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated administrator access to the SiYuan kernel and use of the exportBrowserHTML endpoint with a folder parameter containing directory-traversal sequences (e.g., ../../). Exploitation is limited to overwriting index.html in locations that already exist and are writable by the kernel process (pre-existing kernel-writable paths), and is gated by administrator authentication (PR:H) - there is no unauthenticated or user-interaction path. Affects SiYuan versions before v3.8.4; upgrading to v3.8.4 remediates. |
| Impact | This is a moderate, config-independent but high-privilege issue. The vendor CVSS 4.0 base score of 8.3 (AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L) reflects network reach and low complexity, but the decisive limiter is PR:H - exploitation requires an already-authenticated SiYuan administrator, which substantially narrows the real-world threat since an admin already holds broad control over the instance. There is no EPSS score, no CISA KEV listing, and no public exploit code identified at time of analysis, so the '8.3' should be read as a capability rating rather than an indicator of imminent, widespread exploitation. No SSVC decision data was supplied. The signals are internally consistent (no confidentiality impact, integrity-dominant, write-primitive), and the main disagreement is that the vendor's SI:H (subsequent-system integrity high) is somewhat generous - the write primitive is powerful but constrained to pre-existing kernel-writable locations and gated behind admin auth. Net: a genuine path-traversal/stored-XSS bug worth patching, but not a drop-everything priority absent exploitation evidence. |
| Exploit ScenarioDerived | An authenticated SiYuan administrator (or an attacker who has hijacked an admin session) calls the exportBrowserHTML endpoint with a folder parameter containing directory-traversal sequences (e.g., ../../), escaping the intended export directory to overwrite an index.html in another kernel-writable path. The planted HTML delivers stored XSS to anyone who later loads that page, or simply defaces the workspace. No public exploit code is currently identified, and the attack requires high privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Path traversal in SiYuan's exportBrowserHTML endpoint lets an authenticated administrator write attacker-controlled HTML into an index.html file outside the workspace directory, affecting all releases before v3.8.4. By supplying a folder parameter containing traversal sequences (such as ../../), an attacker with administrator privileges can overwrite any pre-existing, kernel-writable index.html location, achieving stored cross-site scripting or defacing the workspace. The issue is rated 8.3 (CVSS 4.0) with high integrity impact and low availability impact, requires high privileges (PR:H) and no user interaction, and no public exploit code or confirmed active exploitation was identified at time of analysis; upgrading to v3.8.4 resolves it.
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.8.4, which is the first version that fixes CVE-2026-100636; see the GitHub security advisory GHSA-jf98-m24w-gm9m (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf98-m24w-gm9m) and the VulnCheck advisory https://www.vulncheck.com/advisories/siyuan-before-3.8.4-path-traversal-via-exportbrowserhtml-folder for vendor details. Where upgrading is not immediately possible, restrict administrative accounts on the SiYuan kernel to fully trusted operators and do not expose the kernel HTTP endpoint beyond localhost or a trusted network, since the exploit requires the high-privilege administrator role (PR:H) - the trade-off is loss of remote/multi-user administration convenience. Additionally, validate that any use of the exportBrowserHTML folder parameter cannot contain traversal sequences (reject ../ and absolute paths) at a reverse proxy or integration layer if such a control point exists, and treat the export directory as non-authoritative, since content written there can be replaced; these compensating controls are partial mitigations and do not eliminate the flaw, so patching to v3.8.4 remains the definitive fix.
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, self-hosted knowledge-management application whose Go kernel exposes an HTTP API consumed by its Electron/desktop and browser front ends. The exportBrowserHTML endpoint is designed to render notebook content as HTML into an export directory under the workspace; the folder parameter of that endpoint was insufficiently normalized before being joined to a destination path, so sequences like ../ are resolved by the filesystem and escape the intended export root. This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e., path traversal) arising from unsanitized user-controlled path input flowing into a file-write sink with a fixed filename (index.html). The affected component is identified by CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* (all versions before 3.8.4). Because the write is confined to locations that already exist and are writable by the kernel process, the practical impact is content overwrite rather than arbitrary file creation, and successful abuse yields persistent HTML/JavaScript injection (stored XSS) rendered from a trusted local origin, or simple workspace defacement. No confidentiality loss is assessed; the risk is concentrated on integrity of written files with a limited availability effect.
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:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L
Admin-only endpoint sets PR:H; network-reachable low-complexity API gives AV:N/AC:L; arbitrary file write plus resulting stored XSS crossing into victim browsers justifies S:C with I:H, no confidentiality (C:N), minor availability (A:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the exportBrowserHTML endpoint that allows authenticated administrators to write arbitrary HTML content to index.html outside the workspace directory. Attackers can supply a folder parameter with directory traversal sequences to escape the export directory and overwrite index.html in any pre-existing kernel-writable location, enabling stored XSS or workspace defacement.
Technical POC Analysis
CWE-22 path traversal in exportBrowserHTML at kernel/api/export.go:842-875 (Go module github.com/siyuan-note/siyuan).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan versions before v3.8.4 are affected by a high-severity flaw that allows a privileged administrator to place attacker-controlled web content in locations outside the intended workspace. This can undermine integrity and user trust in the platform, particularly for organizations that grant broad administrative rights or have limited oversight of admin activity. Leadership should care because a compromised or malicious admin account could deface or inject content into the SiYuan environment without user interaction.
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.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
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
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
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
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
EUVD-2026-87730
GHSA-mcx7-cgpm-84c8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB