SiYuan
CVE-2026-59853
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain publish-mode Reader credentials
-
DeliveryAuthenticate to target SiYuan instance
-
ExploitSend GET /api/storage/getCriteria
-
ExecutionReceive unfiltered criteria.json payload
-
PersistExtract private document paths, IDs, and search keywords
-
ImpactEnumerate unpublished knowledge base structure
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 a valid publish-mode Reader account on the target SiYuan instance - the CVSS PR:L metric confirms low-privilege authenticated access is needed, not unauthenticated access. Publish mode must be enabled on the instance, and the attacker must have been granted at least Reader-level access within that mode. The SiYuan instance must be network-reachable from the attacker; given typical self-hosted deployments on localhost or private networks, network reachability is frequently the primary limiting factor. Impact is confined to metadata disclosure (document paths, IDs, search keywords) - actual document content is not exposed through this endpoint. No non-default configuration setting beyond publish mode being active is required for exploitation. |
| Impact | The CVSS 3.1 score of 6.5 (Medium, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) reflects a network-exploitable flaw requiring only publish-mode Reader credentials, with high confidentiality impact scoped to the vulnerable system. Attack complexity is low - no race conditions, no chaining, no special protocol knowledge required. No EPSS data was provided and the CVE is absent from CISA KEV, so exploitation probability and active exploitation status are unconfirmed beyond the absence of KEV listing. The practical risk is modulated by deployment context: SiYuan is most commonly self-hosted on localhost or private networks, so network reachability is frequently a natural barrier. However, instances exposed to the internet or shared within an organization with multiple users face meaningful risk of internal data enumeration. The impact is metadata disclosure rather than full document content retrieval, which caps the direct harm but enables reconnaissance for follow-on attacks against document structure. No conflicting signals exist between available data sources. |
| Exploit ScenarioDerived | An attacker granted publish-mode Reader access to an internet-exposed SiYuan instance sends an authenticated HTTP GET request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Missing authorization on the /api/storage/getCriteria endpoint in SiYuan personal knowledge management software exposes saved search criteria - including private document paths, notebook and block IDs, and search/replace keyword history - to any publish-mode Reader, bypassing the access controls applied by all sibling storage endpoints. All SiYuan releases prior to 3.7.1 are affected per the vendor security advisory GHSA-px3c-cf92-9g83. No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, though the low attack complexity and readily available fix commit make this straightforward to weaponize against exposed instances.
RemediationAI
Upgrade SiYuan to version 3.7.1 or later; this is the vendor-released patch that applies consistent publish-access filtering to the /api/storage/getCriteria endpoint. The fix commit is available at https://github.com/siyuan-note/siyuan/commit/0049d0f04ffe9837760d29248b9ef31605077d36 and the release is tagged at https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1. As a compensating control prior to patching, administrators can disable publish mode entirely if external read access is not operationally required - note that doing so removes all public read access to shared content. Alternatively, restricting network access to the SiYuan instance via firewall rules or reverse-proxy authentication to trusted users will prevent exploitation by external parties, though this does not eliminate risk from insider misuse of Reader accounts.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) is a self-hosted, open-source personal knowledge management system that supports a publish mode granting external parties Reader-level access to selected content. Internal storage endpoints under /api/storage/ serve files from the local data directory and are expected to apply publish-access filtering to prevent Readers from seeing content outside their permitted scope. The /api/storage/getCriteria endpoint reads from data/storage/criteria.json and returns saved search criteria but omits the publish-access filtering logic present in its sibling endpoints. The root cause is CWE-862 (Missing Authorization): the endpoint does not verify whether the authenticated caller's role entitles them to the full criteria store, which includes metadata referencing unpublished and private documents.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-accessible API requires low-privilege Reader authentication (PR:L); metadata-only disclosure is confined to the vulnerable SiYuan instance with no integrity or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /api/storage/getCriteria endpoint returns saved search criteria from data/storage/criteria.json without the publish-access filtering used by sibling storage endpoints, allowing a publish-mode Reader to read private document paths, notebook, document, and block IDs, and search and replace keywords for unpublished documents. This issue is fixed in versions 3.7.1.
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.
Affected Products (CPE)CVE.org
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
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB