{"items":[{"id":"NVI-00013271","kind":"vulnerability","title":"SiYuan: getAttributeViewSearchTarget returns database row content to anonymous readers with no publish-access check, reopening the class closed one day earlier at the adjacent route","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-9cqf-hhrq-7v45"],"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-ad80591553cad51802886f4ca501876e"],"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-01T16:24:39.000Z","value":"8.6 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-ad80591553cad51802886f4ca501876e"}],"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-ad80591553cad51802886f4ca501876e","url":"https://github.com/advisories/GHSA-9cqf-hhrq-7v45","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-9cqf-hhrq-7v45","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T01:40:00.567Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ad80591553cad51802886f4ca501876e"],"technology":"github.com/siyuan-note/siyuan/kernel","known_exclusions":[],"conditions_summary":"### Scope note\n\nThis endpoint does not exist in v3.7.3 or on master. It was introduced on the development branch by commit `9b8e8956f` on 2026-07-27 and is present on the current development head. No released stable version is affected.\n\n### Summary\n\n`/api/av/getAttributeViewSearchTarget` is registered with `CheckAuth` only and performs no authorization of any kind. Given a database identifier and a keyword, it searches that database's rows and returns matching content, regardless of whether the caller may see the database, the rows, or the notebook holding them.\n\nCommit `64c26e74b` on 2026-07-26 closed a reader-reachable gap on `getAttributeViewFieldViews` by adding `CheckReadonly` at router line 536. `9b8e8956f`, the following day, registered this endpoint at line 535 without it. The new route returns more than the one that was just closed: row content rather than field-visibility metadata.\n\n### Details\n\n**Route.** `kernel/api/router.go:535` on the development branch:\n\n```go\nginServer.Handle(\"POST\", \"/api/av/getAttributeViewSearchTarget\", model.CheckAuth, getAttributeViewSearchTarget)\n```\n\nNo `CheckReadonly`, no `CheckAdminRole`.\n\n**Handler.** `kernel/api/av.go` parses its argume","public_affected_ranges":[">= 0.0.0-20260726161145-9b8e8956f997, < 0.0.0-20260812083335-251596fc0de2"]}],"null_published_at":"2026-11-01T07:29:12.933Z","source_updated_at":"2026-10-01T16:24:39.000Z","source_disclosed_at":"2026-10-01T16:24:38.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-11-01T01:40:00.567Z"}],"next_cursor":null,"snapshot_revision":"42594"}