Vulnerability in B3log Siyuan
CVE-2025-68948
SiYuan is self-hosted, open source personal knowledge management software. In versions 3.5.1 and prior, the SiYuan Note application utilizes a hardcoded cryptographic secret for its session store. This unsafe practice renders the session encryption ineffective. Since the sensitive AccessAuthCode is stored within the session cookie, an attacker who intercepts or obtains a user's encrypted session cookie (e.g., via session hijacking) can locally decrypt it using the public key. Once decrypted, the attacker can retrieve the AccessAuthCode in plain text and use it to authenticate or take over the session.
EPSS: 0.002 (10.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- B3log Siyuan
- Siyuan-note Siyuan — versions <= 3.5.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-68948?
- CVE-2025-68948 is a high-severity vulnerability in B3log Siyuan, classified under Use of Hard-coded Cryptographic Key. CVSS score: 8.1/10. Published 2025-12-27.
- How severe is CVE-2025-68948?
- High severity. CVSS v3 base score is 8.1 out of 10.