Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed SiYuan publish endpoint
-
ExploitLoad published page as anonymous reader
-
ExecutionRequest SQL embed block or attribute-view key content
-
ImpactReceive invisible-tier notes in response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two prerequisites: SiYuan must be running in publish mode (this is not the default configuration - it must be explicitly enabled by the operator), and at least one piece of content must be marked as invisible tier. If either condition is absent there is nothing to exploit. Once those conditions are met, the CVSS vector PR:N/UI:N confirms that no credentials or user interaction are required - any network-reachable anonymous request is sufficient. The three specific pathways (SQL embed blocks, attribute-view keys, attribute-view backlinks) must be present in the published content for enumeration to yield results. Exploitation is bounded to confidentiality loss; there is no code execution or data modification capability in this vulnerability. |
| Impact | The CVSS 4.0 score of 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) accurately characterizes the risk profile: unauthenticated network access with a bounded confidentiality impact. Real-world severity is heavily context-dependent - the damage is proportional to how sensitive the invisible-tier content is. For users sharing personal notebooks, exposed drafts or private references may be low-stakes; for teams publishing internal wikis with sensitive project details or PII behind invisible-tier controls, the exposure is more significant. No EPSS data was provided in the input, KEV status is negative, and no public POC has been identified, all of which suggest this is not yet a target of opportunistic scanning. The impact is strictly read-only - no integrity or availability risk exists - and only deployments actively using publish mode with invisible-tier content configured are affected. CVSS signals and the description are mutually consistent; there are no conflicting indicators in the available data. |
| Exploit ScenarioDerived | An attacker discovers an internet-exposed SiYuan publish endpoint and sends ordinary HTTP requests referencing SQL embed blocks or attribute-view keys within published pages. The server returns invisible-tier content inline in the response - no authentication, no special tooling, and no prior knowledge of note IDs beyond what can be inferred from the published structure is required. No public POC has been identified at time of analysis, but the straightforward nature of the access pattern means the barrier to exploitation is low for any attacker who identifies a vulnerable instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
SiYuan's publish mode before v3.8.1 leaks invisible-tier content to unauthenticated readers through three unguarded rendering pathways: SQL embed blocks, attribute-view keys, and attribute-view backlinks. Administrators who mark notes as invisible to control what anonymous visitors see receive no protection - those same visitors can enumerate the hidden content by exploiting any of the three listing mechanisms. No active exploitation has been identified (no CISA KEV listing, no public POC), and the vendor has released a fix in v3.8.1.
RemediationAI
Upgrade SiYuan to v3.8.1 or later; this release patches all three affected rendering pathways according to the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2pgf-jv7c-q7rx. If immediate upgrade is not feasible, the most effective compensating control is to disable publish mode entirely - this eliminates the attack surface but also removes all public-facing note sharing functionality. Alternatively, placing the publish endpoint behind an authentication proxy (e.g., HTTP basic auth or SSO via a reverse proxy such as nginx or Caddy) will prevent anonymous access, though this also negates the intended public-access design of publish mode. Network-layer egress restrictions (firewalling the publish port to trusted IP ranges) reduce exposure while preserving functionality for known users. No partial mitigation that preserves anonymous public access while blocking the three vulnerable pathways has been identified from available data.
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:2.3:a:siyuan-note:siyuan) is an open-source, self-hosted personal knowledge management application that includes a 'publish mode' for sharing notes publicly. Within publish mode, administrators can designate content as 'invisible tier' to hide it from anonymous readers. The vulnerability is classified under CWE-668 (Exposure of Resource to Wrong Sphere), meaning content crosses from a restricted access domain into a public one due to missing authorization checks. Three distinct rendering subsystems fail to enforce the invisible-tier restriction: SQL embed blocks (which execute structured queries against the internal note graph and return results inline), attribute-view keys (structured metadata fields attached to blocks), and attribute-view backlinks (reverse-link index entries). Each of these mechanisms has its own content-fetching codepath, and none of them apply the visibility filter that the publish-mode access control layer is supposed to enforce.
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 publish endpoint with no authentication required; impact is limited to partial confidentiality loss of invisible-tier content only, with no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan before v3.8.1 fails to filter invisible-tier content from SQL embed blocks, attribute-view keys, and attribute-view backlinks in publish mode. Anonymous readers can enumerate invisible content through these three listing mechanisms despite admin configuration marking content unlisted.
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-68238
GHSA-q9wp-phq7-jv7c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB