Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. GHSA-xp3q-r38w-vgqm

GHSA-xp3q-r38w-vgqm: SiYuan: The publish filter for local storage returns the administrator's entire storage map with only three keys sanitized

October 23, 2026

Three routes, /api/storage/getLocalStorage, getLocalStorageVal and getLocalStorageVals, are registered with CheckAuth only and are reachable by the publish RoleReader token and anonymously when Publish.Auth.Enable is false. All three call model.GetLocalStorage() and then, for read-only roles, FilterLocalStorageByPublishAccess.

That filter begins by assigning the administrator’s entire storage map to its return value and then removes three specific fields. Everything else in the map is returned unmodified. A single unauthenticated POST with an empty body returns the administrator’s recently closed tabs with their document titles and identifiers, their current search keywords and the paths those searches cover, the expanded private paths in their file tree, and per-document identifiers from several other keys.

References

  • github.com/advisories/GHSA-xp3q-r38w-vgqm
  • github.com/siyuan-note/siyuan/commit/4daee87d41521d119979f2edda67e87f2be7b6ef
  • github.com/siyuan-note/siyuan/releases/tag/v3.7.4-alpha.3
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-xp3q-r38w-vgqm

Code Behaviors & Features

Detect and mitigate GHSA-xp3q-r38w-vgqm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.0-20260729005258-4daee87d4152

Fixed versions

  • 0.0.0-20260729005258-4daee87d4152

Solution

Upgrade to version 0.0.0-20260729005258-4daee87d4152 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-863: Incorrect Authorization

Source file

go/github.com/siyuan-note/siyuan/kernel/GHSA-xp3q-r38w-vgqm.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:50 +0000.