Skip to main content

SiYuan CVE-2026-82654

| EUVDEUVD-2026-68240 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-08-30 VulnCheck GHSA-5x6r-p3h7-38vj
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privileged SiYuan account
  2. Delivery
    Set block name/alias/memo to script payload
  3. Exploit
    Victim opens document referencing block
  4. Execution
    Backlink/breadcrumb/hint renders unescaped markup
  5. Persist
    Script executes in victim session
  6. Impact
    Hijack account or exfiltrate data

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

Exploitation requires the attacker to have a low-privileged authenticated account on the SiYuan instance (PR:L) with the ability to create or edit a block and set its name, alias, or memo field. Execution is not automatic: a second, different user must view or open a document that references or displays the poisoned block through the hint, backlink, or breadcrumb rendering functions (UI:P/UI:R), so a single-user local install is effectively not exploitable. Limiting factors: the need for a second victim user, the requirement that the victim navigate to a referencing view, the authenticated-account prerequisite, and affected versions being strictly before v3.8.1.

Impact

The vendor CVSS 4.0 score of 9.3 (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L, with subsequent-system SC:H/SI:H) is high, but the raw number should be read against real conditions: exploitation requires an authenticated account (PR:L) and victim interaction (UI:P) - namely a second user opening or viewing a document that surfaces the malicious block. This is therefore most impactful in multi-user or shared/collaborative SiYuan deployments; a purely single-user local install has little exposure since the attacker and victim would be the same person. No EPSS score, KEV entry, or POC was provided, so predicted exploitation likelihood cannot be quantified from the input and there is no evidence of active exploitation. The high subsequent-system impact scoring reflects that script execution in the victim's authenticated context can lead to account/session compromise. Overall this is a genuine, patch-now issue for any shared SiYuan instance, but the account-plus-interaction prerequisites make it lower urgency for isolated single-user setups than the 9.3 alone would imply.

Exploit ScenarioDerived

An attacker with a low-privileged account on a shared SiYuan instance creates a block and sets its name (or alias/memo) to a string containing script tags. When a colleague later opens or edits a document that references that block - triggering the backlink, breadcrumb, or hint rendering - the script executes in the colleague's authenticated session, letting the attacker steal session data or perform actions as that user. No public POC was provided, but the technique is straightforward given the described lack of output escaping.

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

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

Alert me

AnalysisAI

Stored cross-site scripting in SiYuan before v3.8.1 lets an authenticated user plant HTML/script payloads in a block's name, alias, or memo field, which then execute in another user's session when that user views any document that references or displays the poisoned block via hint, backlink, or breadcrumb rendering. Because the malicious markup runs in the victim's authenticated context, an attacker can hijack sessions and act as the victim. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to SiYuan v3.8.1 or later, which properly escapes the block name, alias, and memo fields in the hint, backlink, and breadcrumb rendering paths; this is the primary and recommended fix per advisory GHSA-hf87-qh3j-3p88 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hf87-qh3j-3p88). Until upgrading, operators of shared or multi-user instances should restrict block-editing to trusted users and avoid opening or referencing documents/blocks authored by untrusted accounts, since the payload only executes when a victim views a referencing view; on self-hosted deployments a strict Content-Security-Policy that disallows inline script execution can blunt injected payloads, at the trade-off of potentially breaking legitimate inline functionality in the app. These are stopgaps only - patching to v3.8.1 is the durable remediation.

Affected VersionsENISA

SiYuan 0 <3.8.1

Affected Packages

euvd siyuan fix: 3.8.1

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 a self-hostable, block-based personal knowledge-management and note-taking application. The root cause is CWE-79 (improper neutralization of input during web page generation): the block name, alias, and memo fields are stored verbatim and then reflected into the DOM by the hint (autocomplete), backlink, and breadcrumb rendering functions without HTML-escaping. Because these three rendering paths surface a block's metadata wherever it is referenced, a payload stored once propagates to every document and view that links to or displays that block, making this a persistent (stored) rather than reflected XSS. The affected package is identified by CPE cpe:2.3:a:siyuan-note:siyuan for all versions prior to 3.8.1.

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

Authenticated attacker stores payload (PR:L) that runs only when another user views it (UI:R), executing in the victim's context across a trust boundary (S:C) with high confidentiality/integrity impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
CVE Published
Aug 31, 2026 - 10:50 cve.org
CRITICAL 9.3
Patch available
Aug 30, 2026 - 16:01 EUVD

DescriptionCVE.org

SiYuan before v3.8.1 fails to properly escape block name, alias, and memo fields in hint, backlink, and breadcrumb rendering functions. Attackers can set a block's name to contain HTML/script tags that execute when another user views documents referencing or displaying that block.

Technical POC Analysis

CWE-79, with the regression mechanism also fitting CWE-116.

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

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source note-taking app, limited enterprise footprint
Social Media
4
Sightings
Data Quality
5 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

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