{"items":[{"id":"NVI-00010543","kind":"vulnerability","title":"SiYuan: Missing consistency check between packageName and repoURL/repoHash in bazaar package install allows overwriting an existing, trusted plugin","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-rpx2-p6hp-x5gj","CVE-2026-62204"],"plain_summary":"GitHub lists this reviewed advisory for github.com/siyuan-note/siyuan/kernel. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-2ed10e89cba628343c6a8d2e720b8b6b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-23T18:38:27.000Z","value":"6.6 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-2fabd4b25a6311773c3b1a806dad735e"},{"kind":"EPSS","as_of":"2026-11-02T12:00:30.000Z","value":"0.094%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.0056. Missing scores are unknown.","source_id":"sr-2ed10e89cba628343c6a8d2e720b8b6b"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-2fabd4b25a6311773c3b1a806dad735e","url":"https://github.com/advisories/GHSA-rpx2-p6hp-x5gj","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-rpx2-p6hp-x5gj","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:08.657Z"},{"id":"sr-2ed10e89cba628343c6a8d2e720b8b6b","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-62204","publisher":"FIRST EPSS","observed_at":"2026-11-02T20:15:58.859Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-2fabd4b25a6311773c3b1a806dad735e"],"technology":"github.com/siyuan-note/siyuan/kernel","known_exclusions":[],"conditions_summary":"## Summary\n\n`installBazaarPlugin` (and the equivalent endpoints for widgets/icons/templates/themes) accept\n`packageName`, `repoURL`, and `repoHash` as independent request fields with no validation that\nthey refer to the same package. `packageName` alone determines the install destination;\n`repoURL`/`repoHash` alone determine what content gets downloaded and written there. A request\ncan name an already-installed, already-enabled plugin as `packageName` while pointing `repoURL`/\n`repoHash` at different, attacker-influenced content, silently overwriting the existing plugin's\nfiles.\n\n## Affected code\n\n`kernel/api/bazaar.go`:\n```go\nutil.BindJsonArg(\"packageName\", &packageName, true, true)\nutil.BindJsonArg(\"repoURL\", &repoURL, true, true)\nutil.BindJsonArg(\"repoHash\", &repoHash, true, true)\nerr := model.InstallBazaarPackage(\"plugins\", repoURL, repoHash, packageName, 0)\n```\n\n`kernel/model/bazaar.go`:\n```go\nfunc getPackageInstallPath(pkgType, packageName string) (string, string, error) {\n    case \"plugins\":\n        return filepath.Join(util.DataDir, \"plugins\", packageName), \"plugin.json\", nil\n```\n\n`kernel/bazaar/install.go`:\n```go\nfunc installPackage(data []byte, installPath string) (err er","public_affected_ranges":["< 0.0.0-20260808010544-26ccb40d390e"]}],"null_published_at":"2026-11-08T19:53:38.924Z","source_updated_at":"2026-10-23T18:38:27.000Z","source_disclosed_at":"2026-10-23T18:38:25.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T22:07:08.657Z"},{"id":"NVI-00010543","kind":"vulnerability","title":"SiYuan: Missing consistency check between packageName and repoURL/repoHash in bazaar package install allows overwriting an existing, trusted plugin","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-rpx2-p6hp-x5gj","CVE-2026-62204"],"plain_summary":"GitHub lists this reviewed advisory for github.com/siyuan-note/siyuan/kernel. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-1c7babcfb603aed32002eaebc1115c4b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-23T18:38:27.000Z","value":"6.6 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-2fabd4b25a6311773c3b1a806dad735e"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.094%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.00561. Missing scores are unknown.","source_id":"sr-1c7babcfb603aed32002eaebc1115c4b"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-2fabd4b25a6311773c3b1a806dad735e","url":"https://github.com/advisories/GHSA-rpx2-p6hp-x5gj","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-rpx2-p6hp-x5gj","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:08.657Z"},{"id":"sr-1c7babcfb603aed32002eaebc1115c4b","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-62204","publisher":"FIRST EPSS","observed_at":"2026-10-31T23:13:27.698Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-2fabd4b25a6311773c3b1a806dad735e"],"technology":"github.com/siyuan-note/siyuan/kernel","known_exclusions":[],"conditions_summary":"## Summary\n\n`installBazaarPlugin` (and the equivalent endpoints for widgets/icons/templates/themes) accept\n`packageName`, `repoURL`, and `repoHash` as independent request fields with no validation that\nthey refer to the same package. `packageName` alone determines the install destination;\n`repoURL`/`repoHash` alone determine what content gets downloaded and written there. A request\ncan name an already-installed, already-enabled plugin as `packageName` while pointing `repoURL`/\n`repoHash` at different, attacker-influenced content, silently overwriting the existing plugin's\nfiles.\n\n## Affected code\n\n`kernel/api/bazaar.go`:\n```go\nutil.BindJsonArg(\"packageName\", &packageName, true, true)\nutil.BindJsonArg(\"repoURL\", &repoURL, true, true)\nutil.BindJsonArg(\"repoHash\", &repoHash, true, true)\nerr := model.InstallBazaarPackage(\"plugins\", repoURL, repoHash, packageName, 0)\n```\n\n`kernel/model/bazaar.go`:\n```go\nfunc getPackageInstallPath(pkgType, packageName string) (string, string, error) {\n    case \"plugins\":\n        return filepath.Join(util.DataDir, \"plugins\", packageName), \"plugin.json\", nil\n```\n\n`kernel/bazaar/install.go`:\n```go\nfunc installPackage(data []byte, installPath string) (err er","public_affected_ranges":["< 0.0.0-20260808010544-26ccb40d390e"]}],"null_published_at":"2026-10-31T23:18:22.441Z","source_updated_at":"2026-10-23T18:38:27.000Z","source_disclosed_at":"2026-10-23T18:38:25.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T22:07:08.657Z"},{"id":"NVI-00010543","kind":"vulnerability","title":"SiYuan: Missing consistency check between packageName and repoURL/repoHash in bazaar package install allows overwriting an existing, trusted plugin","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-rpx2-p6hp-x5gj","CVE-2026-62204"],"plain_summary":"GitHub lists this reviewed advisory for github.com/siyuan-note/siyuan/kernel. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-2fabd4b25a6311773c3b1a806dad735e"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-23T18:38:27.000Z","value":"6.6 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-2fabd4b25a6311773c3b1a806dad735e"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-2fabd4b25a6311773c3b1a806dad735e","url":"https://github.com/advisories/GHSA-rpx2-p6hp-x5gj","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-rpx2-p6hp-x5gj","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:08.657Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-2fabd4b25a6311773c3b1a806dad735e"],"technology":"github.com/siyuan-note/siyuan/kernel","known_exclusions":[],"conditions_summary":"## Summary\n\n`installBazaarPlugin` (and the equivalent endpoints for widgets/icons/templates/themes) accept\n`packageName`, `repoURL`, and `repoHash` as independent request fields with no validation that\nthey refer to the same package. `packageName` alone determines the install destination;\n`repoURL`/`repoHash` alone determine what content gets downloaded and written there. A request\ncan name an already-installed, already-enabled plugin as `packageName` while pointing `repoURL`/\n`repoHash` at different, attacker-influenced content, silently overwriting the existing plugin's\nfiles.\n\n## Affected code\n\n`kernel/api/bazaar.go`:\n```go\nutil.BindJsonArg(\"packageName\", &packageName, true, true)\nutil.BindJsonArg(\"repoURL\", &repoURL, true, true)\nutil.BindJsonArg(\"repoHash\", &repoHash, true, true)\nerr := model.InstallBazaarPackage(\"plugins\", repoURL, repoHash, packageName, 0)\n```\n\n`kernel/model/bazaar.go`:\n```go\nfunc getPackageInstallPath(pkgType, packageName string) (string, string, error) {\n    case \"plugins\":\n        return filepath.Join(util.DataDir, \"plugins\", packageName), \"plugin.json\", nil\n```\n\n`kernel/bazaar/install.go`:\n```go\nfunc installPackage(data []byte, installPath string) (err er","public_affected_ranges":["< 0.0.0-20260808010544-26ccb40d390e"]}],"null_published_at":"2026-10-31T22:27:09.620Z","source_updated_at":"2026-10-23T18:38:27.000Z","source_disclosed_at":"2026-10-23T18:38:25.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T22:07:08.657Z"}],"next_cursor":null,"snapshot_revision":"42594"}