Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/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
CheckAuth middleware implies at minimum reader-level authentication (PR:L); impact is limited to structural metadata disclosure with no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan v3.7.4-alpha.1 (a pre-release; the endpoint does not exist in stable v3.7.3 or earlier) contains an information disclosure vulnerability in the /api/av/getAttributeViewFieldViews endpoint. The route is registered with CheckAuth only and applies no publish-access filtering, so reader-role callers can retrieve the complete database view structure - every view's name, icon, layout type, and per-field Hidden flag - for any database whose avID is supplied, regardless of authorization. The issue was introduced by commit acfc02ee8 and fixed in v3.7.4.
AnalysisAI
Information disclosure in SiYuan v3.7.4-alpha.1 (pre-release only) permits any caller who passes basic authentication to retrieve complete database view metadata - including view names, icons, layout types, and per-field Hidden flags - for arbitrary database blocks by supplying an avID, regardless of their access level. The /api/av/getAttributeViewFieldViews endpoint introduced in commit acfc02ee8 applies CheckAuth middleware but omits any ownership or publish-access filter, producing a CWE-862 Missing Authorization condition. The vulnerability was corrected in the v3.7.4 stable release; no public exploit or active exploitation has been identified at time of analysis.
Technical ContextAI
SiYuan is an open-source, self-hosted personal knowledge management and note-taking application (CPE: cpe:2.3:a:siyuan-note:siyuan). The affected endpoint /api/av/getAttributeViewFieldViews was introduced exclusively in the v3.7.4-alpha.1 pre-release via commit acfc02ee8 and was never present in the stable v3.7.3 release or any prior stable branch. The endpoint is designed to return attribute view (AV) field view configurations - structural metadata describing database-style blocks within SiYuan notebooks. The CWE-862 (Missing Authorization) root cause is that the route enforces only the CheckAuth middleware, which verifies user identity but does not evaluate whether the authenticated caller has the access rights to read the specified database's view structure. This allows a low-privileged reader-role account to enumerate view configurations for any avID - including databases the reader has no legitimate access to - by sending direct API requests, bypassing the intended publish-access authorization boundary.
RemediationAI
Upgrade to SiYuan v3.7.4 stable, which is confirmed by the vendor to contain the fix for the missing authorization check on /api/av/getAttributeViewFieldViews. Users running v3.7.4-alpha.1 should treat this as a mandatory upgrade; users already on stable v3.7.3 or earlier require no action as the vulnerable endpoint was never shipped in a stable release. If an immediate upgrade is not possible for alpha users, restricting network access to the SiYuan API port (typically 6806) to trusted clients only via firewall rules or reverse-proxy authentication will prevent unauthenticated or unauthorized callers from reaching the endpoint. Full vendor advisory details are at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-57v5-wqx3-cgj4.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
SQL injection in SiYuan prior to version 3.6.0 allows any authenticated user, including those with read-only access, to
Cross-site scripting (XSS) in SiYuan personal knowledge management system versions 3.6.0-3.6.1 allows remote attackers t
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57451
GHSA-xf8j-hfm6-vc9v