{"id":"GHSA-2mmh-4rf8-7xg6","revision":"bfcef16c5d1742e0a3e2212bcfb832f1","records":[{"revision":"bfcef16c5d1742e0a3e2212bcfb832f1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-2mmh-4rf8-7xg6","aliases":[],"title":"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","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-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).","state":2,"publishedAt":"2026-08-03T15:32:47+00:00","modifiedAt":"2026-09-03T21:30:04.3135064+00:00","affected":[{"ecosystem":"npm","name":"siyuan","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"3.7.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":null,"severity":null},{"system":"CVSS_V4","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/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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-36v8-mpjm-8j5r","https://nvd.nist.gov/vuln/detail/CVE-2026-68586","https://www.vulncheck.com/advisories/siyuan-before-content-disclosure-via-getbacklinkdoc"],"sourceUrl":"https://github.com/advisories/GHSA-2mmh-4rf8-7xg6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2mmh-4rf8-7xg6","identifiers":["GHSA-2mmh-4rf8-7xg6"]},"retained":false,"historicalAffected":[]}],"coverage":[]}