Skip to main content

SiYuan CVE-2026-145078

| EUVDEUVD-2026-144296 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-12-04 VulnCheck
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious .sy.zip with onmouseover attribute
  2. Delivery
    Victim imports poisoned notebook
  3. Exploit
    Editor attribute update re-broadcasts unfiltered handler
  4. Execution
    Pointer moves over block triggers handler
  5. Impact
    Node code execution as the user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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

Exploitation Conditions

Requires (1) a victim to import an attacker-supplied .sy.zip whose block IAL carries a handler-named attribute such as onmouseover (the .sy.zip import preserves arbitrary property names); (2) any editor of the workspace - the victim or another connected client - to subsequently update an attribute on that poisoned non-root block, which causes the transactions WebSocket push to re-broadcast the attribute unfiltered (blockAttrsOperation builds the new map via parse.IAL2Map without calling filterHandlerIALAttrs) and the client to apply it via item.setAttribute without the isHandlerIALAttribute guard; and (3) a pointer to pass over the block to fire onmouseover. Full code execution is limited to the official desktop/Electron build (nodeIntegration:true, contextIsolation:false); in the web client the sink is confined to script running against the authenticated kernel API. Limiting factors: required user interaction (import plus an attribute update plus pointer movement), high attack complexity, and dependence on the Electron desktop build for RCE. The document-root attribute path is guarded and not the sink; only a non-root block applies the handler.

Impact

The input CVSS 4.0 score is 7.7 (High), and the vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N tells a nuanced story: the vulnerability is network-reachable (AV:N) and needs no attacker authentication (PR:N), but three metrics materially dampen real-world likelihood - high attack complexity (AC:H), a present attack requirement (AT:P), and required victim interaction (UI:P). Exploitation is not a single remote request: the attacker must get a victim to import a malicious .sy.zip, then an editor must update an attribute on the poisoned block, then a pointer must pass over it. The impact side is severe where it lands - VC:H/VI:H/VA:H reflects full code execution with the user's privileges, but only in the official desktop (Electron) build with nodeIntegration:true/contextIsolation:false; in the plain web client the impact is bounded to script execution against the authenticated kernel API. No EPSS score and no KEV status are present in the input, so there is no signal of widespread or active exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency). A full proof-of-concept (setup.sh and poc.py) is embedded in the GHSA advisory and reported as run against the official v3.8.11-beta.1 release, which raises practical credibility above a typical theoretical XSS. A key conflict to resolve: the package metadata lists the fix as v3.8.11, yet the advisory states the unfiltered transactions WebSocket push (kernel/model/blockial.go blockAttrsOperation) and client sink (transaction.ts) remained present through v3.8.11-beta.1/beta.2/beta.3 on a 2026-11-17 source re-read - so whether the GA v3.8.11 fully closes this specific push path should be verified with the vendor rather than assumed.

Exploit ScenarioDerived

An attacker distributes a malicious .sy.zip (e.g. as a shared template or notebook) carrying a block whose IAL includes an onmouseover handler. A victim imports it; when any editor of that workspace later updates an attribute on the poisoned block, the transactions WebSocket re-broadcasts the unfiltered handler and the client applies it to the live block element, so a pointer move executes the script. A complete PoC is embedded in the GHSA advisory and reported as run on the official build, where in the Electron desktop app the handler reaches Node and writes a file, i.e. code execution with the user's privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 04, 2026

Stored cross-site scripting in SiYuan before 3.8.11 lets an attacker who gets a user to import a crafted .sy.zip notebook plant a handler-named block attribute (for example onmouseover) that survives until an editor next updates an attribute on the poisoned non-root block; the transactions WebSocket push then re-broadcasts the attribute unfiltered and the client applies it, running script in the editor. In the official Electron desktop build (nodeIntegration:true, contextIsolation:false) the handler reaches Node and yields code execution with the user's privileges, while in the web client the sink is confined to script running against the authenticated kernel API. The reporter's attached proof-of-concept harness was measured against the official v3.8.11-beta.1 Linux and desktop releases, but SiYuan does not appear in CISA KEV and no EPSS score was supplied in the intelligence feed; exploitation requires import, a subsequent attribute update by some editor, and pointer movement over the block.

RemediationAI

Upgrade SiYuan to 3.8.11 or later, the fixed version listed in advisory GHSA-62qw-cq6m-mrh6; do not treat v3.8.11-beta.1, beta.2 or beta.3 as remediation, since the reporter's source re-read on 2026-11-17 found the unfiltered blockAttrsOperation and transaction.ts push path still present in those prereleases, so verify the transactions push filtering on the build you deploy. Because v3.8.10 and earlier are fully vulnerable to the parent advisory and the desktop build runs with nodeIntegration:true and contextIsolation:false, avoid importing .sy.zip notebooks or workspace archives from untrusted sources until the upgrade is in place (side effect: this blocks the primary import workflow for shared notebooks), and keep untrusted users out of shared workspaces, since another connected editor's attribute update is enough to trigger the broadcast. Updating is the complete fix; treat the desktop client as code-execution-exposed because any residual script sink reaches Node with the user's privileges.

Affected VersionsENISA

SiYuan 0 <3.8.11

Affected Packages

euvd siyuan fix: 3.8.11

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

The flaw is CWE-79 stored XSS routed through SiYuan's kramdown block IAL (inline attribute list), the property bag attached to each block in a document. The published parent advisory GHSA-x62v-7955-xx6v added an isHandlerIALAttribute / filterHandlerIALAttrs guard at four boundaries: rejecting new on* names on write (kernel/model/blockial.go:423), filtering the IAL returned by getDocInfo/getDocsInfo (blockial.go:539-551, called from blockinfo.go:70,188), filtering export-preview and export-HTML trees (filterHandlerIALInTree, blockial.go:554, called from export.go:1105,1558), the bundled Lute renderer, and the editor's document-root attribute loop (app/src/protyle/wysiwyg/index.ts:681). A fifth boundary was missed: blockAttrsOperation (kernel/model/blockial.go:614-621) builds the updateAttrs operation's new map with parse.IAL2Map(node.KramdownIAL) without calling filterHandlerIALAttrs and broadcasts it over the transactions WebSocket with util.PushModeBroadcast, and the client applies every key via item.setAttribute (app/src/protyle/wysiwyg/transaction.ts:1222) without the guard. Because the .sy.zip import preserves arbitrary property names, the attribute is stored and invisible to earlier filters; only a non-root block element is a usable sink, since the document-root branch is guarded and drops the carried root attribute.

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 7.7 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Attacker needs victim import plus an attribute update and pointer-move (AC:H/UI:R), PR:N since crafting the payload needs no auth, and Node RCE in the Electron build yields C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/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
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
Dec 04, 2026 - 17:18 EUVD
CVE Published
Dec 04, 2026 - 16:10 cve.org
HIGH 7.7

DescriptionCVE.org

SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability because the transactions WebSocket push fails to filter handler-named block attributes. Attackers can supply a .sy.zip import carrying an onmouseover attribute that is re-broadcast and applied when any editor updates the block, achieving code execution in the desktop build.

Technical POC Analysis

Stored cross-site scripting (CWE-79) in SiYuan's block-attribute transaction path.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity stored cross-site scripting vulnerability in SiYuan note-taking software (versions before 3.8.11) allows an attacker to execute arbitrary code with user privileges if a victim imports a malicious notebook and an editor later interacts with the poisoned block. This affects organizations using SiYuan, particularly the Electron desktop build, potentially leading to data breaches or system compromise, though exploitation requires specific user actions and no active exploitation has been observed.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Low
niche open-source personal knowledge-management/note-taking app, no enterprise footprint
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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-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-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-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