CVE-2025-68948 Details
Description
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.
A vulnerability exists in the SiYuan Note application in versions through 3.5.1, where a hardcoded cryptographic secret is used for session storage. This flaw makes session encryption ineffective. The issue allows an attacker who intercepts or obtains a user's encrypted session cookie to decrypt it using the public key. The decrypted cookie reveals the AccessAuthCode, which can be used to authenticate and take over the user's session.
Users can update to SiYuan Note version 3.5.2, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-f7ph-rc3w-qp28 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-f7ph-rc3w-qp28 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-798 | Use of Hard-coded Credentials | [email protected] |
| CWE-321 | Use of Hard-coded Cryptographic Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| b3log siyuan | < 3.5.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 2, 2026 | Initial Analysis | [email protected] |
| Dec 29, 2025 | CVE Modified | CISA-ADP |
| Dec 27, 2025 | New CVE Received | [email protected] |