CVE Catalog

CVE-2025-68948

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

13th percentile - higher than 13% of all known CVEs

Summary

SiYuan versions 3.5.1 and prior use a hardcoded cryptographic secret for its session store, rendering session encryption ineffective. Since the sensitive AccessAuthCode is stored in the session cookie, an attacker who intercepts the encrypted session cookie can decrypt it locally using the public key and retrieve the AccessAuthCode in plain text, then take over the session.

Risk Assessment

An attacker can hijack a user's session and gain access to protected resources, leading to a breach of confidentiality and integrity.

Recommendation

Update SiYuan to a version later than 3.5.1 if a patch is available. In the meantime, consider implementing additional session protection mechanisms such as short expiration times and monitoring for suspicious activities.

Other vulnerabilities in SiYuan

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS