{"id":"GHSA-69jp-f2p8-9vrg","revision":"d8fddbcebfbb4bbdaf062d312bce2898","records":[{"revision":"d8fddbcebfbb4bbdaf062d312bce2898","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-69jp-f2p8-9vrg","aliases":[],"title":"Duplicate Advisory: 17 block metadata/content endpoints in kernel/api/block.go have zero publish-access filtering, reachable by anonymous publish-mode readers","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-4vpg-gwqq-w44c. This link is maintained to preserve external references.\n\n## Original Description\nSiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are gated only by basic authentication (model.CheckAuth) and lack publish-access filtering, allowing anonymous publish-mode readers to disclose private block content-derived text, structural metadata, and existence information for arbitrary block IDs across the workspace.","state":2,"publishedAt":"2026-08-18T12:31:21+00:00","modifiedAt":"2026-10-02T23:15:06.6848918+00:00","affected":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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:N/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":"HIGH"}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4vpg-gwqq-w44c","https://nvd.nist.gov/vuln/detail/CVE-2026-74904","https://www.vulncheck.com/advisories/siyuan-before-missing-authorization-via-block-api"],"sourceUrl":"https://github.com/advisories/GHSA-69jp-f2p8-9vrg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-69jp-f2p8-9vrg","identifiers":["GHSA-69jp-f2p8-9vrg"]},"retained":false,"historicalAffected":[]}],"coverage":[]}