Skip to main content

SiYuan CVE-2026-74867

| EUVDEUVD-2026-60086 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-08-17 VulnCheck GHSA-ph2h-92xh-5vmg
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim authenticates to networked SiYuan instance
  2. Delivery
    Attacker hosts malicious page with forged SiYuan API request
  3. Exploit
    Victim browses attacker page in same browser session
  4. Execution
    Browser appends session cookie to cross-origin request
  5. Persist
    CheckAuth() accepts request without Origin/Referer validation
  6. Impact
    Unauthorized action executes on victim's account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three conditions must align: (1) The victim must have an active authenticated SiYuan session in the browser at the time of attack. (2) The SiYuan instance must be reachable from the browser making the cross-origin request - localhost-only deployments are not exploitable from external pages in standard browser security models. (3) The browser's SameSite default policy must permit the cross-origin cookie submission for the specific HTTP method used - modern browsers defaulting to SameSite=Lax block cross-origin POST but may allow certain GET-triggered requests, constraining which API actions can be forged. Passive user interaction is required: the victim must visit attacker-controlled content (UI:P). Exploitation is not possible against isolated localhost-bound SiYuan instances when the attacker cannot reach the service, nor against users who are not currently authenticated.

Impact

The CVSS 4.0 score of 2.3 accurately reflects low real-world priority. AC:H indicates high attack complexity: the browser's SameSite default behavior, the user's session state, and the network reachability of the SiYuan instance must all align simultaneously. AT:P (attack requirements: present) further confirms specific preconditions are necessary. UI:P requires passive victim interaction - the user must visit attacker-controlled content while authenticated. Impact is bounded: VC:L/VI:L captures limited note data exposure and integrity modification; VA:N and all subsequent-system metrics are N, consistent with SiYuan being a personal-scope application. No EPSS data was provided in the input; no CISA KEV listing is noted; no public POC has been identified. The primary real-world risk concentrates on networked or shared SiYuan deployments (e.g., team instances or cloud-hosted) rather than the common localhost-only personal deployment pattern. CVSS signals are internally consistent with the description - no conflicting data identified.

Exploit ScenarioDerived

An attacker hosts a malicious web page containing a hidden form or JavaScript fetch targeting a SiYuan API endpoint (e.g., to delete notes or modify workspace settings). When an authenticated SiYuan user on a networked or shared deployment visits that page in the same browser, the browser automatically attaches the valid SiYuan session cookie to the cross-origin request. Because CheckAuth() performs no Origin or Referer check, the forged request is processed as legitimate, executing the unauthorized action. No public exploit code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Cross-site request forgery in SiYuan's CheckAuth() session-cookie authentication branch affects all versions before 3.7.4, allowing remote attackers to perform unauthorized actions on behalf of authenticated users. The session-cookie code path neither validates Origin nor Referer headers, and omits an explicit SameSite attribute on session cookies, leaving browser-default SameSite policies as the sole defense - a gap exploitable via a crafted malicious page when the victim has an active authenticated session. The CVSS 4.0 score of 2.3 reflects genuinely constrained real-world risk; no public exploit has been identified and no active exploitation is confirmed.

RemediationAI

Upgrade to SiYuan 3.7.4 or later, which corrects the CSRF deficiency in CheckAuth() per the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hhm2-g993-p656. If immediate patching is not feasible, restrict the SiYuan listening address to localhost (127.0.0.1 only) to prevent any cross-origin browser request from a third-party page from reaching the service - this eliminates the network pathway CSRF depends on, though it limits multi-device access. As an additional browser-side measure, users should avoid browsing untrusted sites in the same browser session as an active SiYuan login until the upgrade is applied. Do not rely on browser SameSite defaults as a primary control, as behavior varies across browser versions and enterprise configurations.

Affected VersionsENISA

SiYuan 0 <3.7.4

Affected Packages

euvd siyuan fix: 3.7.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SiYuan is an open-source personal knowledge management and note-taking application (CPE: cpe:2.3:a:siyuan-note:siyuan). The vulnerable code resides in CheckAuth(), the function responsible for validating user sessions via cookies. The session-cookie authentication branch specifically omits two standard CSRF mitigations: server-side validation of the Origin and Referer HTTP headers, and an explicit SameSite cookie attribute. CWE-352 (Cross-Site Request Forgery) describes this exact class: the server cannot distinguish a legitimate same-origin request from a cross-origin forged one because it relies on cookie presence alone. Without SameSite=Strict or SameSite=Lax enforced at the application layer, the defense degrades to whatever the browser applies by default - Lax in modern browsers, which blocks cross-origin POST under most navigation patterns but permits certain GET-triggered flows, and potentially None in older or enterprise-configured browsers.

Know when Siyuan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.2 MEDIUM

Network vector applies to cross-origin browser requests; AC:H captures aligned preconditions; PR:N because the attacker needs no credentials; UI:R for mandatory victim interaction; no scope change; C:L and I:L reflect limited note data access and modification.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 17, 2026 - 12:01 EUVD

DescriptionCVE.org

SiYuan versions before 3.7.4 contain a cross-site request forgery vulnerability in the session-cookie authentication branch of CheckAuth() that lacks Origin/Referer validation and sets no explicit SameSite attribute on session cookies. Attackers can craft malicious web pages that perform unauthorized actions on behalf of authenticated users by submitting requests with valid session cookies, relying on browser default SameSite policies rather than server-enforced protections.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche personal note-taking app, limited enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy