Skip to main content

SiYuan CVE-2026-82653

| EUVDEUVD-2026-68239 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-08-30 VulnCheck GHSA-pxmq-4h62-hcr8
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Publish malicious bazaar package with scripted name
  2. Delivery
    Victim installs then triggers uninstall
  3. Exploit
    confirmDialog() writes name to innerHTML
  4. Execution
    Payload executes in SiYuan session
  5. Impact
    Steal notes or session context

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 control a package name in SiYuan's bazaar marketplace (or a notebook name), matching PR:L - a submission/publishing capability rather than anonymous access. The payload only executes when the victim performs a specific triggering action: uninstalling the malicious bazaar package, or unlocking an encrypted notebook whose name carries the payload (UI:P/passive interaction). Limiting factors: the victim must actually install then uninstall the package (or open the crafted notebook), the target must be running SiYuan before v3.8.1, and the attacker needs a route to place content into the bazaar name or notebook name field. There is no default-configuration, zero-interaction remote path.

Impact

The input assigns CVSS 4.0 base 9.3 (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L). The network vector and low complexity are consistent with delivering a payload through a public bazaar package, but two factors temper real-world severity: PR:L means the attacker must be able to publish/submit a package (some privilege or account), and UI:P means the payload only fires on a specific victim action (uninstalling the package or unlocking an encrypted notebook) - it is not click-free drive-by. No EPSS score, KEV listing, or POC was provided, so there is no signal of automated or in-the-wild exploitation; the high score is driven by potential impact rather than demonstrated ease. The SC:H/SI:H subsequent-system ratings in the supplied vector appear generous for browser-context XSS in a note app and should be treated as the vendor/reporter's view rather than independently confirmed. Net: a genuine high-severity XSS worth prompt patching for SiYuan users, but not an emergency mass-exploitation scenario on current evidence.

Exploit ScenarioDerived

An attacker publishes a bazaar package whose name field contains an XSS payload (e.g., an img/script construct). A SiYuan user installs it and later chooses to uninstall it; confirmDialog() renders the crafted name via innerHTML, executing the attacker's script in the user's SiYuan session to exfiltrate notes, tokens, or manipulate the workspace. No public POC was provided, and the attack depends on the victim performing the uninstall (or unlocking a maliciously named encrypted notebook).

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 a low-privileged attacker persist HTML/script payloads in bazaar package names and notebook names, which the confirmDialog() function interpolates unescaped into innerHTML. The script executes in a victim's browser session when they uninstall a malicious package or unlock an encrypted notebook, enabling session-context takeover of the note-taking application. No public exploit identified at time of analysis and no active exploitation is recorded.

RemediationAI

Vendor-released patch: upgrade to SiYuan v3.8.1 or later, which is the primary and complete fix per advisory GHSA-hvwp-43j9-4xgf (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hvwp-43j9-4xgf). Until upgrading, reduce exposure by avoiding installation of untrusted bazaar packages and by not uninstalling packages whose names contain unexpected HTML/markup characters; treat notebook names from shared or imported workspaces with the same caution before unlocking encrypted notebooks. These are behavioral mitigations only - they do not remove the vulnerable innerHTML sink, so patching to v3.8.1 remains necessary. The trade-off of restricting bazaar usage is loss of community plugin/theme functionality, which is acceptable as a temporary measure.

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 an open-source, self-hosted personal knowledge-management and note-taking application (vendor: siyuan-note). The flaw is a classic CWE-79 stored XSS: attacker-controlled strings (a bazaar community-package name and a notebook name) are written directly into the DOM via innerHTML inside the confirmDialog() helper without HTML-entity encoding or sanitization. Because SiYuan's UI is a web front end (rendered in a browser or an Electron/webview shell), any string treated as trusted markup becomes executable script. The bazaar is SiYuan's third-party marketplace for plugins/themes/templates, so package metadata is a realistic untrusted input channel that reaches the vulnerable sink at uninstall time.

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

Attacker needs a bazaar publishing account (PR:L) and victim must trigger uninstall/unlock (UI:R); XSS crossing into the app's browser context justifies S:C with high C/I and low A.

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:L/SI:L/SA:N

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 contains a stored cross-site scripting vulnerability in confirmDialog() where unescaped package names and notebook names are interpolated directly into innerHTML assignments. Attackers can submit malicious bazaar packages with HTML/script payloads in the name field that execute in users' browsers when uninstalling packages or unlocking encrypted notebooks.

Technical POC Analysis

CWE-79 (secondary 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 self-hosted open-source note-taking app, limited enterprise footprint
Social Media
4
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 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
Poc
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