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 content endpoints exploitable by an anonymous publish reader when Basic Auth is off (PR:N, AC:L), yielding high confidentiality disclosure only, with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
SiYuan before v3.7.3 fails to apply publish-access filters to the getBacklinkDoc and getBackmentionDoc content endpoints (/api/ref/getBacklinkDoc and /api/ref/getBackmentionDoc). While the corresponding backlink list endpoints filter publish-forbidden documents, the content endpoints (gated only by CheckAuth) do not. A publish-mode reader - including an anonymous reader when publish Basic Auth is disabled - can call these endpoints directly with a publish-forbidden document's ID to retrieve its rendered DOM content and to determine whether the document references a given block (a reference-existence oracle).
AnalysisAI
Broken access control in SiYuan versions before 3.7.3 lets publish-mode readers - including anonymous users when publish Basic Auth is disabled - retrieve the rendered content of publish-forbidden documents by calling the /api/ref/getBacklinkDoc and /api/ref/getBackmentionDoc endpoints directly with a target document ID. Although the corresponding backlink list endpoints correctly filter publish-forbidden documents, these two content endpoints are gated only by CheckAuth and omit the publish-access filter, exposing DOM content and a reference-existence oracle. Reported by VulnCheck; no public exploit identified at time of analysis and not listed in CISA KEV.
Technical ContextAI
SiYuan is an open-source, self-hostable personal knowledge management / note-taking application whose 'publish' mode serves a read-only public view of a workspace while restricting certain documents from publication. The flaw is a CWE-862 Missing Authorization: the backlink and back-mention content endpoints (getBacklinkDoc, getBackmentionDoc) enforce only the generic CheckAuth session/token check but skip the publish-forbidden document filter that the sibling list endpoints apply. Because authorization is enforced inconsistently across endpoints that operate on the same document objects, an attacker can bypass the intended publish-access policy by targeting the un-filtered content endpoints directly, obtaining rendered document DOM as well as a boolean oracle indicating whether a hidden document references a specific block.
RemediationAI
Upgrade to SiYuan 3.7.3 or later, which applies the publish-access filter to the content endpoints; this is the primary and complete fix (Vendor-released patch: 3.7.3, per GHSA-36v8-mpjm-8j5r). If immediate upgrade is not possible, enable publish Basic Auth so the endpoints require credentials rather than being anonymously reachable (trade-off: all publish readers must then authenticate, reducing convenience of public sharing), and/or place the publish service behind a reverse proxy or network ACL that restricts access to /api/ref/getBacklinkDoc and /api/ref/getBackmentionDoc to trusted clients (trade-off: may break legitimate backlink rendering for public readers). As a stronger interim control, disable publish mode entirely on instances hosting sensitive publish-forbidden documents. Refer to https://github.com/siyuan-note/siyuan/security/advisories/GHSA-36v8-mpjm-8j5r for authoritative guidance.
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-52274
GHSA-2mmh-4rf8-7xg6