Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/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
Unauthenticated network endpoint (AV:N/AC:L/PR:N/UI:N) leaks credentials (C:H); leaked signing key enables cross-account cookie forgery, a scope change (S:C) with limited integrity impact (I:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
SiYuan versions before v3.7.4 fail to mask sensitive configuration fields in the /api/system/getConf endpoint, allowing anonymous or publish-reader users to obtain the session-cookie signing key, OS username via pandoc path, and encrypted-notebook key material. Attackers can forge and tamper with session cookies to impersonate users, and on instances without access-auth codes configured, escalate to administrator privileges.
AnalysisAI
Sensitive credential exposure in SiYuan (self-hosted note-taking app) before v3.7.4 allows anonymous or publish-reader users to query the /api/system/getConf endpoint and retrieve unmasked secrets, including the session-cookie signing key, the OS username (leaked via the pandoc path), and encrypted-notebook key material. With the signing key, attackers forge and tamper with session cookies to impersonate any user, and on instances that have not configured an access-auth code they can escalate to full administrator privileges. No public exploit identified at time of analysis, but the flaw is remotely reachable without authentication against default configurations.
Technical ContextAI
SiYuan is an open-source, self-hostable personal knowledge-management/note-taking application (vendor siyuan-note, CPE cpe:2.3:a:siyuan-note:siyuan). The vulnerability maps to CWE-522 (Insufficiently Protected Credentials): the /api/system/getConf configuration endpoint returns the server configuration object without masking secret fields before serialization. Because the returned data includes the HMAC/signing key used for session cookies, the OS-level username embedded in the pandoc executable path, and key material for encrypted notebooks, disclosure of the signing key breaks the integrity guarantee of the cookie mechanism - an attacker who knows the key can mint or alter cookies that the server will accept as legitimate, turning an information-disclosure bug into an authentication-bypass and privilege-escalation primitive.
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.7.4 or later, which masks the sensitive configuration fields returned by /api/system/getConf; see the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h4v5-crx2-3cv4. If immediate patching is not possible, configure an access-auth code on the instance to block anonymous access and prevent the anonymous-to-administrator escalation path (trade-off: this requires all legitimate users to authenticate and may break unauthenticated publish/read-only sharing workflows), and restrict network exposure of the SiYuan endpoint by binding it to localhost or placing it behind a VPN/reverse proxy that requires authentication or blocks /api/system/getConf. After upgrading, rotate the exposed secrets - regenerate the session-cookie signing key (invalidating existing sessions) and re-key any encrypted notebooks - since disclosed key material remains usable until rotated.
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-522 – Insufficiently Protected Credentials
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57453
GHSA-2qqv-3jgq-vpm9