Skip to main content

SiYuan CVE-2026-54069

| EUVDEUVD-2026-39125 CRITICAL
Origin Validation Error (CWE-346)
2026-06-24 GitHub_M GHSA-hvr9-72v2-fff3
9.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Publish or compromise a browser extension
  2. Delivery
    Victim installs/updates the extension
  3. Exploit
    Extension fetches http://127.0.0.1:6806 with chrome-extension origin
  4. Execution
    Kernel grants RoleAdministrator without auth
  5. Impact
    Exfiltrate notes, tamper config, inject stored XSS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Requires a Chrome/Chromium browser extension (malicious, or legitimate-but-compromised via supply chain) installed in a browser on the same host where SiYuan's kernel is running and reachable at 127.0.0.1:6806, with SiYuan version prior to 3.7.0. Exploitation is trivial against desktop installs because AccessAuthCode is empty by default; setting a non-empty AccessAuthCode is the main limiting factor. Other limiting factors: the attacker must already have an extension present in the victim's browser (no purely remote, no-foothold exploitation), and the kernel must be running and accessible to the browser. No interaction with the SiYuan UI and no SiYuan-specific credentials are needed once those conditions hold.

Impact

The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.2) reflects full confidentiality/integrity/availability impact to the SiYuan instance with no authentication, but a high attack complexity (AC:H) that captures the real precondition: the attacker must control a browser extension already installed in the victim's browser. Publicly available exploit code raises practical risk, but this is not listed in CISA KEV and no EPSS score was provided, so widespread automated exploitation cannot be asserted. The AV:N rating is debatable - the kernel binds to localhost (127.0.0.1) and the malicious extension runs on the victim's own machine, which is closer to a local/adjacent context; the network exposure is really 'any installed extension' rather than 'any remote host'. Net assessment: a genuinely serious flaw for affected SiYuan users (admin takeover of all notes via a single rogue extension), but its blast radius is bounded by the browser-extension prerequisite and the moderate deployment footprint of the product, so it is high-priority for SiYuan operators specifically rather than a broad internet-wide emergency.

Exploit ScenarioDerived

An attacker publishes or compromises (via supply chain) a Chrome extension that the victim already trusts and has installed. When the victim is running SiYuan, the extension silently issues fetch requests to http://127.0.0.1:6806 with its chrome-extension:// origin; the kernel grants administrator rights and the extension reads all notes, alters configuration, or injects stored XSS. Publicly available exploit code demonstrates the admin API access, and no user interaction with SiYuan itself is required once the extension is present.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 24, 2026

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chrome/Chromium browser extension obtain RoleAdministrator access to the local kernel HTTP server at 127.0.0.1:6806. Because the kernel unconditionally trusts all chrome-extension:// origins and desktop installs ship with an empty AccessAuthCode by default, a malicious or supply-chain-compromised extension can issue fully authenticated admin API calls with no further authentication, enabling data exfiltration, stored XSS injection, and configuration tampering. Publicly available exploit code exists; there is no public exploit identified as actively exploited.

RemediationAI

Upgrade to SiYuan 3.7.0 or later, which removes the unconditional trust of chrome-extension:// origins (Vendor-released patch: 3.7.0); see the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hvr9-72v2-fff3. If immediate upgrade is not possible, set a strong non-empty AccessAuthCode in SiYuan settings so the kernel requires a credential even for browser-extension-origin requests (trade-off: you must enter/manage the code and any legitimate browser-clipper integration must supply it). Additionally, audit and remove untrusted or unnecessary Chrome/Chromium extensions on machines running SiYuan and keep the kernel bound to 127.0.0.1 only (avoid exposing port 6806 to other hosts), recognizing these reduce but do not fully close the issue until patched.

Affected VersionsENISA

SiYuan < 3.7.0

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 0.0.0-20260628153353-2d5d72223df4
euvd siyuan fix: 3.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

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

Technical ContextAI · show details

SiYuan runs a local 'kernel' backend exposed as an HTTP API (default bind 127.0.0.1:6806) that the Electron/desktop and web frontends call to manage notes, settings, and files. Access control on this API is governed by an AccessAuthCode and an origin/role check. The root cause is CWE-346 (Origin Validation Error): the kernel treats any request whose Origin is a chrome-extension:// URL as a trusted administrator, rather than validating a specific allowed origin or requiring a token. Browser extensions run with their own chrome-extension:// origin and can issue cross-origin fetches to localhost, so the trust decision is made purely on an attacker-controllable scheme. The affected component is the SiYuan application itself (cpe:2.3:a:siyuan-note:siyuan), and the weakness is compounded by the default empty AccessAuthCode on desktop, which removes the only remaining credential gate.

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 (GitHub_M) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

AC:H because a malicious/compromised browser extension must already be installed; PR:N as the kernel requires no auth (empty AccessAuthCode); full C/I/A impact to the SiYuan instance, no scope change.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Jun 24, 2026 - 23:03 EUVD
CVE Published
Jun 24, 2026 - 21:17 cve.org
CRITICAL 9.2

DescriptionCVE.org

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan Note's kernel HTTP server unconditionally trusts all chrome-extension:// origins, granting RoleAdministrator access to every installed browser extension without any authentication. Combined with the default empty AccessAuthCode on desktop installs, any Chrome/Chromium extension -- including a compromised legitimate extension via supply chain attack -- can make fully authenticated admin API calls to the SiYuan kernel at 127.0.0.1:6806, enabling data exfiltration, stored XSS injection, and configuration tampering. This vulnerability is fixed in 3.7.0.

Executive ViewAI

Why It Matters

SiYuan Note versions before 3.7.0 can be compromised by browser extensions to gain full administrative access to stored notes and configurations, enabling data theft and tampering. The publicly available exploit code significantly lowers the barrier to attack. Users storing sensitive information in this platform face immediate risk of breach and unauthorized modification.

Business Impact: Severe
Compensating Controls

Apply vendor patch: SiYuan Note 3.7.0 or later.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Low
popular open-source note app but niche, mostly individual desktop users
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Siyuan

View all
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-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-29183 CRITICAL POC
9.3 Mar 06

Reflected XSS in SiYuan knowledge management before 3.5.9.

CVE-2026-25539 CRITICAL POC
9.1 Feb 04

SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope

CVE-2024-2692 CRITICAL POC
9.0 Apr 04

SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera

CVE-2025-67488 HIGH POC
8.8 Dec 09

An authenticated ZipSlip path-traversal flaw in SiYuan's notes import feature (importZipMd) lets any credentialed user w

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

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