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, no auth or interaction, and the password authority is bypassed to disclose protected content (S:C, C:H); no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
SiYuan versions before v3.7.3 contain an authentication bypass vulnerability in publish mode where content-returning endpoints getHeadingChildrenDOM, getHeading*Transaction, and getBacklinkDoc perform no password check despite protecting the primary getDoc endpoint. Anonymous attackers can retrieve full content of password-protected documents by obtaining internal block IDs from reader-accessible endpoints and calling unprotected content endpoints to bypass the password gate.
AnalysisAI
Authentication bypass in SiYuan (self-hosted knowledge-management/note-taking app) versions before v3.7.3 allows anonymous readers in publish mode to exfiltrate the full content of password-protected documents. While the primary getDoc endpoint enforces the publish-mode password, sibling content-returning endpoints (getHeadingChildrenDOM, the getHeading*Transaction family, and getBacklinkDoc) omit that check, so an attacker who harvests internal block IDs from reader-accessible endpoints can pull protected content directly. VulnCheck reported the issue and a vendor patch (v3.7.3) is available; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.
Technical ContextAI
SiYuan is a local-first, self-hostable personal knowledge base whose backend exposes a JSON-RPC-style HTTP API. Its 'publish mode' is intended to serve selected notebooks to anonymous readers over the network while gating individual documents behind a password. The flaw is a classic CWE-288 (authentication bypass using an alternate path/channel): access control was applied to the canonical read path (getDoc) but not to functionally equivalent endpoints that also return document DOM/content - getHeadingChildrenDOM, getHeading*Transaction, and getBacklinkDoc. Because SiYuan addresses content by internal block IDs, and those IDs are discoverable through other reader-accessible endpoints (e.g., backlink and outline data), the missing check on the alternate endpoints is sufficient to reconstruct protected documents. The affected component per CPE is cpe:2.3:a:siyuan-note:siyuan (all versions prior to 3.7.3).
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.7.3 or later, which adds the missing password checks to the affected content endpoints; see GHSA-7j72-f6wg-cxw6 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7j72-f6wg-cxw6). If immediate upgrade is not possible, disable publish mode entirely to remove the anonymous attack surface (trade-off: your published notebooks become unavailable to readers), or place the publish-mode instance behind a reverse proxy or network ACL that requires its own authentication before any endpoint is reachable (trade-off: breaks fully anonymous public sharing but preserves internal access). Do not rely on the per-document password as a boundary until patched, since the point of the flaw is that alternate endpoints ignore it; treat any content you would not publish publicly as effectively exposed on unpatched publish-mode servers.
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 technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52272
GHSA-g64v-qqpg-v37h