Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable published endpoint needs no auth or interaction (AV:N/AC:L/PR:N/UI:N); it discloses data across an authorization boundary (S:C, C:H) with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
SiYuan versions before v3.7.4 fail to filter embedded block content by publish access in the getBlockDOMWithEmbed and getBlockDOMsWithEmbed endpoints. Attackers can request published blocks containing embed queries to read content from password-protected, hidden, or forbidden documents without authorization.
AnalysisAI
Unauthorized cross-document content disclosure in SiYuan note-taking software before v3.7.4 allows remote attackers to read protected notes without credentials. The getBlockDOMWithEmbed and getBlockDOMsWithEmbed endpoints resolve embed queries inside published blocks without re-checking publish-access controls, so an attacker who reaches a published SiYuan workspace can pull back content from password-protected, hidden, or forbidden documents. No public exploit identified at time of analysis, but VulnCheck rates it CVSS 9.2 (CVSS 4.0) and it constitutes an authentication/authorization bypass.
Technical ContextAI
SiYuan is a self-hostable, block-based personal knowledge-management (PKM) application (similar in concept to Obsidian or Notion) that includes a 'publish' mode exposing selected documents over the network. Documents are composed of blocks, and 'embed' blocks run queries that dynamically pull in the content of other blocks. The flaw is a CWE-862 Missing Authorization: when the getBlockDOMWithEmbed / getBlockDOMsWithEmbed endpoints render a published block, they execute the embedded query and return the results without filtering those results through the same publish-access policy that governs direct document access. As a result the authorization boundary is enforced on the container document but not on the transitively embedded content. The affected component is identified by CPE cpe:2.3:a:siyuan-note:siyuan:*, covering all versions prior to the fixed v3.7.4.
RemediationAI
Vendor-released patch: v3.7.4 - upgrade all SiYuan instances to v3.7.4 or later, which restores publish-access filtering on embedded block content; see the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h6w7-xxcf-w2mq. If you cannot upgrade immediately, disable SiYuan's publish/sharing feature or take the published workspace off the network so the getBlockDOMWithEmbed and getBlockDOMsWithEmbed endpoints are not reachable by untrusted clients - the trade-off is that legitimate published sharing stops working. As an interim compensating control, place the published instance behind an authenticating reverse proxy or IP allowlist so only trusted users reach it, and avoid using embed queries that pull from password-protected, hidden, or forbidden documents until patched, since those are the specific blocks whose content leaks.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
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
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
SQL injection in SiYuan prior to version 3.6.0 allows any authenticated user, including those with read-only access, to
Cross-site scripting (XSS) in SiYuan personal knowledge management system versions 3.6.0-3.6.1 allows remote attackers t
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57455
GHSA-cjwm-9h7g-pcr9