Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish or compromise a browser extension
-
DeliveryVictim installs/updates the extension
-
ExploitExtension fetches http://127.0.0.1:6806 with chrome-extension origin
-
ExecutionKernel grants RoleAdministrator without auth
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch: SiYuan Note 3.7.0 or later.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
An authenticated ZipSlip path-traversal flaw in SiYuan's notes import feature (importZipMd) lets any credentialed user w
Same weakness CWE-346 – Origin Validation Error
View allVendor 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 |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-39125
GHSA-hvr9-72v2-fff3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB