Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-exposed SiYuan publish-mode instance
-
DeliveryEnumerate or infer block IDs from workspace
-
ExploitSend unauthenticated HTTP requests to block API endpoints
-
ExecutionReceive private block text and structural metadata
-
ImpactAggregate workspace hierarchy via breadcrumb responses
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 publish mode to be explicitly enabled on the target SiYuan instance - this is a non-default setting that must be deliberately activated by the workspace owner; default authenticated-only deployments are not affected. The attacker must have network access to the SiYuan API port (default 6806). The CVSS PR:N metric confirms that no credentials are needed once publish mode is active. Exploitation is further bounded by the need to know or enumerate valid block IDs, though no complex prerequisite beyond network reach and an enabled publish-mode configuration is required. Confidentiality impact is limited to block content and structural metadata within the SiYuan workspace; no lateral movement, code execution, or integrity modification is indicated by available data. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) accurately reflects the high confidentiality impact, though the AT:N designation slightly overstates universality because publish mode must be explicitly enabled - a non-default configuration that meaningfully narrows the exposed population. No EPSS data was supplied and neither CISA KEV status nor a public proof-of-concept has been identified, so real-world exploitation probability beyond opportunistic scanning is currently unconfirmed. Despite these mitigating signals, the zero-privilege requirement and low attack complexity mean that even a mid-sized municipal IT team in inowroclaw running a publish-mode SiYuan workspace should treat this as urgent, because exposed block content may include sensitive personal or organizational notes whose disclosure could violate confidentiality obligations. There is no integrity or availability impact, making this a pure disclosure risk. Overall, the vulnerability is a genuine priority for any deployment with publish mode active and should be patched promptly; default authenticated-only deployments face no exploitation path from this flaw. |
| Exploit ScenarioDerived | An attacker discovers a network-accessible SiYuan instance running in publish mode and, without any credentials, iterates or guesses block IDs - which follow a known structured format - to query endpoints such as /api/block/getRefText and /api/block/getBlockBreadcrumb via standard HTTP requests. The API returns private block text, cross-reference relationships, and hierarchical breadcrumb paths for blocks the workspace owner intended to keep private. No public proof-of-concept has been identified, but the attack requires only a working HTTP client and no specialist tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 18, 2026
Unauthenticated information disclosure in SiYuan before v3.7.4 exposes private knowledge-base content to anonymous publish-mode readers through 17 insufficiently protected block API endpoints in kernel/api/block.go. Remote attackers without credentials can enumerate arbitrary block IDs to retrieve private text content, structural metadata, and block existence information across the entire workspace. No public exploit or active exploitation has been identified at time of analysis; a vendor-released patch is available in v3.7.4 per GitHub Security Advisory GHSA-4vpg-gwqq-w44c.
RemediationAI
Upgrade SiYuan to v3.7.4 or later, which introduces the missing publish-access authorization checks across all 17 affected block API endpoints; details are in the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4vpg-gwqq-w44c and VulnCheck's coverage at https://www.vulncheck.com/advisories/siyuan-before-missing-authorization-via-block-api. If an immediate upgrade is not possible, disabling publish mode entirely eliminates the exploitation path with no impact on core note-taking functionality, though it will make the workspace inaccessible to any intended public readers until patched. As an additional compensating control, placing the SiYuan instance behind a reverse proxy or VPN that enforces authentication for all API traffic removes anonymous access at the network layer; note this does not remediate the underlying authorization flaw and must be lifted carefully when re-exposing publish mode. No patch exists in any release prior to v3.7.4.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan (cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) is an open-source, Electron/Go-based personal knowledge management system that organizes content as a hierarchical graph of typed 'blocks.' Its backend API is implemented in Go under kernel/api/block.go, with named endpoints including getRefText, checkBlockExist, and getBlockBreadcrumb. The root cause is CWE-862 (Missing Authorization): all 17 affected handlers invoke model.CheckAuth for basic authentication gating but omit the secondary publish-access filter that would restrict anonymous publish-mode sessions to publicly designated content only. The authorization boundary therefore collapses for any caller reaching the instance in publish mode, enabling full block-graph traversal regardless of content privacy settings. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N confirms a network-reachable, low-complexity attack with no privileges required.
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:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network vector and PR:N reflect anonymous publish-mode access; S:U and C:H capture full private block disclosure within a single application boundary; no integrity or availability impact applies.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are gated only by basic authentication (model.CheckAuth) and lack publish-access filtering, allowing anonymous publish-mode readers to disclose private block content-derived text, structural metadata, and existence information for arbitrary block IDs across the workspace.
Executive ViewAI
SiYuan knowledge-base management platform (versions before 3.7.4) contains an unauthenticated information disclosure vulnerability allowing any remote attacker to enumerate and retrieve private workspace content without credentials. Organizations using SiYuan to store confidential knowledge, documentation, or internal processes face exposure of sensitive intellectual property and operational information to unauthorized external actors.
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
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-60585
GHSA-69jp-f2p8-9vrg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB