GHSA-2mmh-4rf8-7xg6: Duplicate Advisory SiYuan: Cross-boundary Content Disclosure Vulnerability
CRITICALGHSA-2mmh-4rf8-7xg6 is a CRITICAL (CVSS 8.6) siyuan: cross-boundary content disclosure vulnerability (CWE-862: Missing Authorization) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves siyuan: cross-boundary content disclosure via getbacklinkdoc/getbackmentiondoc (publish mode): reader-reachable rendered dom of publish-forbidden docs; sibling list endpoints are filtered. Remediation is available in the latest vendor maintenance releases.
GHSA-2mmh-4rf8-7xg6 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).
How to Fix GHSA-2mmh-4rf8-7xg6
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install siyuan@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls siyuan
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-2mmh-4rf8-7xg6, inspect your project dependencies using npm:
npm ls siyuan
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls siyuan command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-2mmh-4rf8-7xg6 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
siyuan
|
npm |
≤ 3.7.2
|
|
References
Frequently Asked Questions
What is GHSA-2mmh-4rf8-7xg6?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-2mmh-4rf8-7xg6?
Is siyuan affected?
What is the CVSS score of GHSA-2mmh-4rf8-7xg6?
What CWE is associated with GHSA-2mmh-4rf8-7xg6?
How can I check npm dependencies for GHSA-2mmh-4rf8-7xg6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2mmh-4rf8-7xg6",
"modified" : "2026-09-03T21:21:12Z",
"published" : "2026-08-03T15:32:47Z",
"withdrawn" : "2026-09-03T21:21:12Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: SiYuan: Cross-boundary content disclosure via getBacklinkDoc/getBackmentionDoc (publish mode): reader-reachable rendered DOM of publish-forbidden docs; sibling list endpoints are filtered",
"details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-36v8-mpjm-8j5r. This link is maintained to preserve external references.\n\n## Original Description\nSiYuan 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).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "siyuan"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-36v8-mpjm-8j5r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-68586"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/siyuan-before-content-disclosure-via-getbacklinkdoc"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-03T21:21:12Z",
"nvd_published_at" : "2026-08-03T14:16:28Z"
}
}