Home

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.

PUBLISHED Reserved 2025-12-26 | Published 2025-12-27 | Updated 2025-12-29 | Assigner GitHub_M




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-321: Use of Hard-coded Cryptographic Key

Product status

<= 3.5.1
affected

References

github.com/...siyuan/security/advisories/GHSA-f7ph-rc3w-qp28 exploit

github.com/...siyuan/security/advisories/GHSA-f7ph-rc3w-qp28

cve.org (CVE-2025-68948)

nvd.nist.gov (CVE-2025-68948)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.