Description
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).
Published: 2026-08-03
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs because the getBacklinkDoc and getBackmentionDoc content endpoints in SiYuan do not enforce publish-access filters, although their list endpoints do. This missing authorization check allows a publish-mode or even anonymous reader to request the rendered DOM content of any publish‑forbidden document by providing its ID to /api/ref/getBacklinkDoc or /api/ref/getBackmentionDoc. The result is a full content disclosure and an oracle that reveals whether the document references a specific block. This flaw is a classic missing authorization error (CWE‑862) that gives attackers access to confidential information.

Affected Systems

SiYuan Note’s Siyuan application, versions before v3.7.3, is affected. The issue appears in all releases of Siyuan through 3.7.2 and is fixed in v3.7.3 and later.

Risk and Exploitability

The flaw carries a CVSS score of 9.2, indicating critical severity, and is not yet listed in CISA’s KEV catalog. Exploitation requires only network access to the API endpoints and the ability to authenticate as a publish-mode reader or remain anonymous when publish Basic Auth is disabled. Because the endpoint is guarded only by CheckAuth, an attacker can enumerate forbidden document IDs and pull their rendered content, achieving information disclosure with minimal effort.

Generated by OpenCVE AI on August 4, 2026 at 10:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.7.3 or later to receive the official fix.
  • If upgrading is not immediately possible, block or restrict the /api/ref/getBacklinkDoc and /api/ref/getBackmentionDoc endpoints for unauthenticated or non‑publish users, for example by firewall or reverse‑proxy rules.
  • Disable publish mode or enforce Basic Auth for the publish feature so that anonymous readers cannot reach the vulnerable endpoints.

Generated by OpenCVE AI on August 4, 2026 at 10:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared B3log
B3log siyuan
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan

Mon, 03 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Mon, 03 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Description 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).
Title SiYuan before v3.7.3 Content Disclosure via getBacklinkDoc
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 9.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:51:08.199Z

Reserved: 2026-07-31T11:56:29.760Z

Link: CVE-2026-68586

cve-icon Vulnrichment

Updated: 2026-08-03T15:00:20.928Z

cve-icon NVD

Status : Received

Published: 2026-08-03T14:16:28.237

Modified: 2026-08-03T17:16:44.597

Link: CVE-2026-68586

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T10:30:07Z

Weaknesses