Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as reader on Siyuan instance
-
DeliveryCreate or locate public document with embed block
-
ExploitCraft embed query referencing private/hidden block IDs
-
ExecutionCall /api/export/preview or /api/lute/copyStdMarkdown
-
ImpactReceive fully rendered private block content
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 | Exploitation requires a valid reader-level authenticated session on the target Siyuan instance - unauthenticated access is insufficient (CVSS PR:L). The deployment must have multi-user access configured with at least one user whose access level is lower than the owner of the private content. The attacker must be able to submit or access a document containing an embed block query that references private or publish-disabled block IDs, and must be able to invoke the /api/export/preview or /api/lute/copyStdMarkdown endpoints. Single-user deployments with no external reader accounts are not exposed. The vulnerability does not permit write access, code execution, or availability disruption - impact is strictly bounded to confidentiality of block content. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N, score 7.1) accurately captures the threat model: low-complexity network exploitation by any authenticated reader with high confidentiality impact and no integrity or availability consequences. The real-world risk is most acute in multi-user or team deployments of Siyuan where content owners use privacy controls to segregate sensitive notes (drafts, private journals, restricted project data) from shared spaces. Single-user self-hosted instances with no external reader accounts carry negligible exposure. No EPSS data is available in the provided input. Neither a public exploit nor a KEV listing has been identified, consistent with the product's niche deployment footprint. The low attack complexity and absence of any special configuration requirement beyond having a reader account mean that any authorized reader on a vulnerable multi-user instance can trivially exploit this. |
| Exploit ScenarioDerived | An authenticated reader on a shared Siyuan instance creates or locates a public document and inserts an embed block whose query selects blocks belonging to a private notebook or a publish-disabled page. The reader then issues a GET or POST request to /api/export/preview referencing that document, and the response contains the fully rendered content of the private blocks - including text, attachments, and metadata the owner intended to restrict. No proof-of-concept code has been publicly disclosed, but the attack requires only reader credentials and a standard HTTP client. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Siyuan note-taking application before v3.8.2 leaks private block content to authenticated readers through two export/preview API endpoints that skip publish-access validation when resolving embedded block references. Any user holding reader-level credentials can craft requests to /api/export/preview or /api/lute/copyStdMarkdown referencing public documents whose embed queries target private, hidden, or publish-disabled blocks, receiving their full rendered content. No public exploit code or CISA KEV listing has been identified, but exploitation requires only reader authentication and standard HTTP tooling.
RemediationAI
Upgrade to Siyuan v3.8.2 or later, which introduces proper publish-access filtering in the embed block rendering pipeline for the affected endpoints. The vendor-confirmed fix is documented in GitHub Security Advisory GHSA-8wx4-fvqw-f5f8 at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8wx4-fvqw-f5f8. If an immediate upgrade is not feasible, restrict reader-level access to fully trusted users only, eliminating the attacker's foothold. As a harder network-layer workaround, block external access to the /api/export/preview and /api/lute/copyStdMarkdown routes at a reverse proxy - note this disables export-preview and markdown-copy functionality for all users. Deployments that are strictly single-user with no external accounts do not require urgent action.
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 self-hosted, block-based personal knowledge management application (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) that supports 'embed blocks' - SQL-like queries that pull referenced blocks from across a vault into a document for rendering. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): when the /api/export/preview and /api/lute/copyStdMarkdown endpoints resolve these embed queries, they dereference block IDs supplied in the query without re-validating the target block's publish-access settings against the requesting user's permission level. The rendering pipeline trusts the embed query's output directly, effectively treating the block ID as an implicit authorization token and bypassing the per-block visibility model (private/hidden/publish-disabled states) that the application otherwise enforces.
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:H/VI:N/VA:N/SC:N/SI:N/SA:N
Reader authentication required (PR:L) over network; impact is confidentiality-only as private blocks are readable but not writable, with no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Siyuan before v3.8.2 fails to apply publish-access filtering to embedded blocks before rendering in the /api/export/preview and /api/lute/copyStdMarkdown endpoints. Attackers with reader access can retrieve the full rendered content of private, hidden, or publish-disabled blocks by accessing public documents containing embed queries that select those blocks.
Technical POC Analysis
Missing publish-access authorization during embedded-block resolution in the export/rendering path.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Siyuan note-taking application versions before 3.8.2 expose private and confidential blocks to any authenticated reader through API endpoints that bypass access controls. This creates an organizational data confidentiality risk where users with legitimate reader-level access can extract sensitive information-such as meeting notes, strategic plans, or confidential data-that should remain restricted. Any deployment storing sensitive information requires immediate patching to prevent unauthorized data disclosure within the existing user base.
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
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-74835
GHSA-ghrq-8gf7-vmrq
NVD
CVE.org
EPSS
Exploit-DB