Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. GHSA-57v5-wqx3-cgj4

GHSA-57v5-wqx3-cgj4: SiYuan: Database view structure (all view names, layout types and per-field visibility) is returned to anonymous readers by /api/av/getAttributeViewFieldViews

September 8, 2026

/api/av/getAttributeViewFieldViews is registered with CheckAuth only and applies no publish-access filtering. Given a database avID, it returns the complete view structure of that database: every view’s name, icon, layout type and the per-field Hidden flag, regardless of whether the caller is authorized to see that database or those views.

The route registered immediately before it, getAttributeViewKeys, does gate reader roles.

References

  • github.com/advisories/GHSA-57v5-wqx3-cgj4
  • github.com/siyuan-note/siyuan/commit/64c26e74bb82c24a73513107684b91cc01335fab
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-57v5-wqx3-cgj4

Code Behaviors & Features

Detect and mitigate GHSA-57v5-wqx3-cgj4 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260726004013-64c26e74bb82

Fixed versions

  • 0.0.0-20260726004013-64c26e74bb82

Solution

Upgrade to version 0.0.0-20260726004013-64c26e74bb82 or above.

Impact 5.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/siyuan-note/siyuan/kernel/GHSA-57v5-wqx3-cgj4.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:35 +0000.