{"id":"GHSA-989h-w3q9-3m2f","revision":"69f195d11f164cec8c147df35ffa94ae","records":[{"revision":"69f195d11f164cec8c147df35ffa94ae","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-989h-w3q9-3m2f","aliases":[],"title":"Duplicate Advisory: SiYuan: Missing consistency check between packageName and repoURL/repoHash in bazaar package install allows overwriting an existing, trusted plugin","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-rpx2-p6hp-x5gj. This link is maintained to preserve external references.\n\n## Original Description\nSiYuan versions before v3.7.4 fail to validate that packageName matches the downloaded package content in bazaar install endpoints. Attackers with same-origin access can overwrite existing trusted plugins by supplying mismatched packageName and repoURL parameters, achieving persistence across application restarts.","state":2,"publishedAt":"2026-08-22T15:31:02+00:00","modifiedAt":"2026-10-23T18:45:08.5786327+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:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/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":"MODERATE"}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rpx2-p6hp-x5gj","https://nvd.nist.gov/vuln/detail/CVE-2026-62204","https://www.vulncheck.com/advisories/siyuan-before-plugin-overwrite-via-bazaar-install"],"sourceUrl":"https://github.com/advisories/GHSA-989h-w3q9-3m2f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-989h-w3q9-3m2f","identifiers":["GHSA-989h-w3q9-3m2f"]},"retained":false,"historicalAffected":[]}],"coverage":[]}