Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain read-only publish token
-
ExploitCall getDynamicIcon with type=8 and crafted template
-
ExecutionBypass missing publish access check
-
ImpactLeak restricted block titles/aliases/paths
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already hold a valid read-only publish token for the target SiYuan instance (PR:L), and to reach the getDynamicIcon API endpoint over the network (AV:N). The specific trigger is invoking that endpoint with parameter type=8 and crafted template content to induce template injection; no user interaction is needed (UI:N). Limiting factors: the target must be a SiYuan deployment version 3.8.4 or earlier with publish/read-only token sharing in use, and impact is bounded to metadata disclosure (document titles, names, aliases, and hierarchy) - not document body content, write access, or code execution. |
| Impact | This is a genuine but limited-severity information-disclosure flaw, correctly rated medium (vendor CVSS 4.0 5.3). The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows a network-reachable, low-complexity attack requiring low privileges - specifically, possession of a read-only publish token. Impact is confined to confidentiality (VC:L; VI:N/VA:N), consistent with CWE-862 (missing authorization) and the description limiting the leak to document metadata (titles, names, aliases, hierarchical paths), not content or code execution. No EPSS score, no CISA KEV listing, and no public exploit code are present in the input, so this is 'no public exploit identified at time of analysis' - a low real-world exploitation-pressure issue rather than an urgent priority. The primary caveat is the input tag 'Authentication Bypass', which conflicts with both the CWE (CWE-862 authorization) and the vector's PR:L (attacker is already authenticated with a read-only token); this is an authorization/access-control bypass, not an authentication bypass. No missing or internally conflicting CVSS data otherwise. |
| Exploit ScenarioDerived | An attacker who has been granted (or has obtained) a read-only publish token for a SiYuan instance calls the getDynamicIcon endpoint with type=8 and crafted template content, abusing the missing publish access-control check to enumerate metadata of documents they should not see. Through template injection they read block titles, names, aliases, and the document hierarchy of restricted notes, exposing the structure and naming of confidential content. No public exploit code is identified at time of analysis, though the advisory and pinned source lines (icon.go, template.go) make the flaw straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
SiYuan versions through 3.8.4 fail to enforce authorization on the getDynamicIcon endpoint, allowing authenticated attackers holding a read-only publish token to disclose metadata-such as block titles, names, aliases, and hierarchical paths-of restricted documents via a template injection triggered by type=8 requests. The flaw is rated medium severity (vendor CVSS 5.3, independent CVSS 3.1 5.3) and impacts confidentiality only; no public exploit or active exploitation has been identified at time of analysis.
RemediationAI
Upgrade SiYuan to a version later than 3.8.4; consult the vendor advisory GHSA-whcx-xxqh-c838 for the exact patched release. Patch availability is confirmed per vendor advisory, but the specific fix version is not provided in the input data. If immediate patching is not possible, restrict distribution of read-only publish tokens to trusted users, and monitor or block requests to the getDynamicIcon endpoint that use type=8 or contain template-like content via a reverse proxy or API gateway; however, blocking this endpoint may break dynamic icon rendering for legitimate published documents. Additionally, consider disabling template injection features in SiYuan if they are not required, though this could impact other template-based functionality. Always validate that access controls are enforced on all API endpoints, especially those that render user-supplied content.
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
The vulnerability resides in SiYuan's kernel API, specifically the getDynamicIcon endpoint (referenced in kernel/api/icon.go and router.go) and its interaction with the template rendering engine (kernel/model/template.go). CWE-862 (Missing Authorization) indicates that the endpoint does not verify whether a requester with a valid read-only publish token has permission to access metadata of documents that are otherwise restricted. By sending a request with type=8 and crafted content, an attacker can induce template injection, causing the server to render metadata from restricted blocks-titles, names, aliases, and hierarchical paths-without proper access checks. The CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* confirms that all versions up to and including 3.8.4 are affected. Exploitation requires network access to the instance and a valid read-only token, but no user interaction; the impact is bounded to metadata disclosure, not document body content, write access, or code execution.
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:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable endpoint (AV:N/AC:L) abused by an authenticated read-only token holder (PR:L), leaking only metadata (C:L; I:N/A:N) within the app boundary (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SiYuan versions through 3.8.4 fail to enforce publish access control in the getDynamicIcon endpoint, allowing read-only token holders to access document metadata. Attackers can call the endpoint with type=8 and crafted content to read block titles, names, aliases, and hierarchical paths of restricted documents via template injection.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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 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
EUVD-2026-83457
GHSA-j5v6-qhh5-48r7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB