Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed Siyuan publish-mode instance
-
DeliverySubmit targeted search terms to POST /api/search/fullTextSearchBlock
-
ExploitParse unfiltered match counts from API response
-
ExecutionIterate over keyword list to map private content structure
-
ImpactInfer existence and density of sensitive unpublished material
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the Siyuan instance be deployed in publish mode, which enables unauthenticated external access to the application's API. This is not the standard single-user local deployment model; publish mode must be explicitly enabled. The attacker needs only network access to the Siyuan web interface - no credentials, no prior knowledge of document structure, and no special client software. Limiting factors: instances running in default single-user local mode are not exposed; the disclosed information is limited to aggregate counts (not content); and the attacker must iteratively probe with specific search terms, so discovery is bounded by the quality of the attacker's guesses. There is no evidence this requires any non-default feature beyond publish mode itself. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L) scores 6.9 and accurately characterizes this as a low-confidentiality, network-accessible, unauthenticated issue - the score reflects the limited nature of what leaks (metadata counts rather than raw content). Real-world risk is moderate and deployment-context-dependent: instances operated entirely in private mode (no publish-mode exposure) are not affected, substantially narrowing the population at risk. For operators running Siyuan in publish mode with sensitive unpublished content - from personal researchers to small teams - the oracle allows systematic enumeration of whether specific keywords, names, or phrases appear in hidden notes, which can be meaningful even without content access. No KEV listing and no public exploit code are identified, so mass exploitation is unlikely; the EPSS signal is unavailable. The absence of integrity or availability impact is consistent with the description. Patching to v3.8.2 is straightforward, so even a mid-sized internal team that has deployed this in a shared publish-mode configuration should prioritize the upgrade without treating this as a crisis-level event. |
| Exploit ScenarioDerived | An attacker discovers a Siyuan instance running in publish mode and submits a series of targeted POST requests to /api/search/fullTextSearchBlock with carefully chosen search terms - employee names, project codenames, or financial keywords. The responses omit actual block content from private documents but return match counts; by iterating over many terms, the attacker builds a keyword map of what exists in hidden notes. No exploit code is required - standard HTTP tooling suffices given the unauthenticated network-accessible endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Information disclosure in Siyuan note-taking software before v3.8.2 allows unauthenticated publish-mode readers to probe the existence and quantity of private or unpublished content via the full-text search API. The POST /api/search/fullTextSearchBlock endpoint correctly withholds actual block content from hidden documents but leaks unfiltered match counts - the number of matching blocks and pages - enabling attackers to use the search API as an oracle to systematically map the structure of private content without ever seeing it. No public exploit code has been identified at time of analysis, and the vendor has released a patch in v3.8.2.
RemediationAI
Upgrade Siyuan to v3.8.2 or later, which corrects the unfiltered match-count disclosure in the full-text search endpoint; the vendor-released patch is confirmed by the GitHub security advisory GHSA-g45v-hxvm-wccj. If immediate upgrade is not possible, operators should disable publish mode entirely until the patch is applied - this eliminates unauthenticated external access to the search API and removes the exploitation surface, though it also makes published documents unavailable to legitimate readers. Alternatively, placing a reverse proxy in front of Siyuan configured to block POST requests to /api/search/fullTextSearchBlock for unauthenticated sessions provides a targeted workaround without disabling publish mode entirely, though proxy misconfiguration risks should be evaluated. No other workarounds are documented in the available references.
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 an open-source, self-hosted knowledge management and note-taking application. It supports a 'publish mode' that exposes documents to unauthenticated external readers while keeping certain blocks or documents private. The vulnerability resides in the /api/search/fullTextSearchBlock endpoint, which implements access control by filtering private block content from the returned result set - but fails to apply the same filter to the aggregate match-count metadata (block count, page count). This is a classic statistical side-channel / search oracle pattern classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor): the sanitized response still carries a measurable signal that reveals information the access control was designed to conceal.
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:N/SI:N/SA:N
Network-accessible unauthenticated endpoint; only low confidentiality impact since counts leak, not content; no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Siyuan before v3.8.2 contains an information disclosure vulnerability in the POST /api/search/fullTextSearchBlock endpoint that filters private blocks from results but returns unfiltered match counts. Unauthenticated publish-mode readers can submit arbitrary search terms to learn whether matching content exists in hidden or unpublished documents and determine the number of matching blocks and pages.
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
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-74836
GHSA-mg7g-xgr5-f9cw
NVD
CVE.org
EPSS
Exploit-DB