Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-exposed SiYuan instance
-
DeliverySend unauthenticated HTTP request to getLocalStorage endpoint
-
ExploitReceive full administrator storage map
-
ExecutionExtract private document IDs and search history
-
ImpactUse metadata for targeted reconnaissance or follow-on access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | The SiYuan HTTP API endpoint getLocalStorage must be reachable from the attacker's network location - instances bound solely to localhost or protected behind a VPN or authenticated reverse proxy are not directly exploitable. No authentication is required; the CVSS 4.0 PR:N metric confirms this. Users with only 'publish reader' access also satisfy the access requirements, meaning the attack surface extends beyond fully public instances to any SiYuan deployment with the publish feature enabled and accessible. The key limiting factors are network reachability and the scope of impact: exploitation yields only metadata (closed-tab history, search keywords, private document identifiers, expanded folder paths) and not document content, credentials, or write access. No non-default configuration is required - any network-exposed SiYuan instance before v3.7.4 is vulnerable in its default state. |
| Impact | The CVSS 4.0 score of 6.9 accurately captures the attack surface: the endpoint is network-reachable (AV:N), requires no special conditions (AC:L, AT:N), no privileges (PR:N), and no user interaction (UI:N), making it trivially automatable against any exposed instance. Impact is correctly scoped to low confidentiality (VC:L, SC:L) with no integrity or availability effects, reflecting that the leaked data is metadata rather than document content or credentials. EPSS data was not included in the available intelligence, so exploitation probability cannot be quantified numerically. There is no CISA KEV listing and no confirmed public exploit code, placing this in the 'no public exploit identified at time of analysis' category. The realistic risk profile is moderate: SiYuan is typically deployed by individuals or small teams, and most instances are bound to localhost or internal networks - however, any operator who has exposed the HTTP API to a broader network without authentication or proxy enforcement is directly vulnerable, and even a mid-sized municipal IT team in gliwice running SiYuan without network segmentation should treat this as a meaningful privacy and reconnaissance risk. The leaked metadata (document identifiers, search terms, tab history) can meaningfully assist an adversary in identifying high-value targets for follow-on attacks. No conflicts exist between the provided CVSS vector and the vulnerability description. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach the SiYuan HTTP API over the network sends a single HTTP GET request to the getLocalStorage endpoint without supplying any credentials. The server responds with the administrator's nearly complete local storage map, from which the attacker extracts private document identifiers and search keywords that reveal the types and topics of documents under management. No public exploit has been identified at time of analysis, but the attack requires only knowledge of the endpoint path and basic HTTP tooling, making it repeatable with minimal effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
The getLocalStorage API endpoint in SiYuan before v3.7.4 exposes the administrator's full local storage map to unauthenticated network callers and publish readers, with only three keys redacted by an incomplete sanitization filter. Sensitive operational metadata - including closed-tab history, search keywords, private document identifiers, and expanded folder paths - can be harvested in a single unauthenticated HTTP request against any network-accessible instance. No public exploit has been identified at time of analysis, but the zero-authentication, low-complexity attack path means any internet-exposed SiYuan deployment running a version below 3.7.4 is trivially reachable.
RemediationAI
Upgrade SiYuan to version 3.7.4 or later, which corrects the incomplete sanitization in the local storage filter. The vendor-released patch is confirmed by the GitHub Security Advisory GHSA-xp3q-r38w-vgqm at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xp3q-r38w-vgqm. As a compensating control for deployments that cannot immediately patch, restrict network access to the SiYuan HTTP API using firewall rules or a reverse proxy requiring authentication before forwarding requests to the backend - this prevents unauthenticated callers from reaching the getLocalStorage endpoint, though it carries the trade-off of additional infrastructure overhead and potential impact on legitimate remote access workflows. Note that if SiYuan's 'publish' sharing feature is active, authenticated publish readers also have access to this endpoint; network restriction alone will not mitigate the risk for those users, making the upgrade to v3.7.4 the only complete fix in that configuration.
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 (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) is a self-hosted, local-first personal knowledge management application that exposes a JSON HTTP API for UI state operations, including the getLocalStorage endpoint, which retrieves key-value pairs from the administrator's local storage. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): the server-side filter applied before returning storage data redacts only three specific keys, leaving the remainder of the storage map fully exposed regardless of the caller's authentication or authorization level. This means both unauthenticated external attackers and users holding only 'publish reader' permissions can call the endpoint and receive the full map. The flaw is not in the transport layer or session management but in the access control logic governing what subset of data the API is permitted to return to unprivileged callers.
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:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Network-accessible unauthenticated endpoint with no scope change; confidentiality impact is low as only metadata is disclosed, not document content.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
SiYuan before v3.7.4 contains an information disclosure vulnerability in the local storage filter that returns the administrator's entire storage map with only three keys sanitized. Unauthenticated attackers or publish readers can retrieve closed-tab history, search keywords, private document identifiers, and expanded folder paths by calling the getLocalStorage endpoint.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-57814
GHSA-8j5p-6pf5-6pqc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB