Skip to main content

SiYuan EUVDEUVD-2026-74839

| CVE-2026-87813 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-09 VulnCheck GHSA-x62c-gcj4-v66g
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Attacker authenticates with low-privilege account
  2. Delivery
    Uploads asset with XSS payload embedded in filename
  3. Exploit
    Payload persists in SiYuan asset index
  4. Install
    Victim performs Search Assets query returning malicious entry
  5. C2
    Browser renders unescaped filename as HTML, executing attacker JavaScript
  6. Execute
    Attacker script issues same-origin API requests under victim identity
  7. Impact
    Application state manipulated or sensitive data exfiltrated

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

The attacker must hold a valid SiYuan account with sufficient permissions to upload or rename assets (PR:L per CVSS). The victim must actively perform a Search Assets operation that causes the maliciously named asset to appear in the rendered result list (UI:A per CVSS 4.0 - without this interaction the stored payload does not trigger). Risk is highest in multi-user server or team deployments where different users share the same SiYuan instance; in single-user local desktop deployments the attacker and victim are the same user, rendering exploitation self-defeating. No non-default configuration flag is required beyond the presence of multiple accounts with asset-upload access.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:A scoring 8.4 conveys high severity but is constrained by two important factors: PR:L (valid account required) and UI:A (victim must perform an asset search). In single-user local desktop deployments the threat model is largely irrelevant - attacker and victim are the same person. The meaningful risk surface is multi-user or team-server deployments where lower-trust users can upload assets and higher-privilege users routinely search them. In that scenario the attack complexity is genuinely low and the blast radius is high: same-origin API access can exfiltrate note content, credentials stored in the app, or silently modify documents. There is no CISA KEV listing, no identified POC, and no stated EPSS score in the provided data; real-world exploitation probability is assessed as low-to-moderate given the niche deployment footprint and the required victim interaction step.

Exploit ScenarioDerived

An attacker with a low-privilege account on a shared SiYuan server uploads a file named something like image<img src=x onerror=fetch('/api/filetree/getDoc',{method:'POST',...})>.png, embedding a JavaScript payload in the filename. When a higher-privileged user - such as an administrator - performs an asset search that returns this entry, the unescaped filename is rendered as live HTML, triggering the script within the admin's authenticated browser session and silently issuing same-origin API calls to harvest note content or manipulate workspace state. No public POC has been identified, but the technique is straightforward given the explicit description of unescaped filename interpolation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 09, 2026

Stored cross-site scripting in SiYuan's Search Assets result list (all versions before 3.8.2) allows low-privilege authenticated attackers to plant JavaScript payloads inside asset filenames that execute in any user's browser session when that user performs an asset search. The CVSS 4.0 score of 8.4 (PR:L/UI:A) reflects the requirement for a valid account and victim interaction, but successful exploitation grants the attacker same-origin API access and full application state manipulation under the victim's identity. No active exploitation has been confirmed and no public POC is identified at time of analysis.

RemediationAI

Upgrade SiYuan to version 3.8.2 or later, which contains the vendor-released fix per advisory GHSA-qcw6-qm34-28h8 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qcw6-qm34-28h8). If immediate patching is not possible in a multi-user server deployment, restrict asset-upload permissions to fully trusted accounts only - this prevents untrusted users from planting malicious filenames, removing the attacker-controlled input vector. Additionally, limiting Search Assets usage by privileged accounts until patched reduces victim-side exposure. In single-user local desktop configurations no interim mitigation is needed given the self-contained threat model. After upgrading, audit existing asset libraries for filenames containing HTML/script characters as a precautionary measure.

Affected VersionsENISA

SiYuan 0 <3.8.2

Affected Packages

euvd siyuan fix: 3.8.2

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 note-taking and knowledge-management application (CPE: cpe:2.3:a:siyuan-note:siyuan). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting): when the Search Assets feature builds its result list, asset filenames retrieved from storage are interpolated directly into the HTML response without output encoding or sanitization. This is the stored variant of XSS - the payload persists durably as a filename on the server and fires each time the malicious entry appears in search results. Because SiYuan exposes a local or network-accessible web API under the same origin, JavaScript executing inside the application context can issue fully authenticated API requests, bypassing same-origin policy restrictions that would block cross-origin fetches.

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

Network-accessible stored XSS requiring low-privilege auth and victim interaction; scope changes to victim's session enabling full same-origin API access with high C and I impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Sep 09, 2026 - 12:03 EUVD
CVE Published
Sep 09, 2026 - 11:21 cve.org
HIGH 8.4

DescriptionCVE.org

SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the Search Assets result list where asset filenames are interpolated into HTML without escaping. Authenticated attackers can craft asset filenames containing malicious markup that executes JavaScript in the victim's browser when searching assets, enabling same-origin API requests and application state manipulation.

Technical POC Analysis

Stored cross-site scripting (CWE-79) in SiYuan's Search - Assets result list.

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

SiYuan knowledge management applications (all versions before 3.8.2) contain a stored cross-site scripting vulnerability in asset search functionality that allows authenticated, low-privilege users to plant malicious code that executes in other users' browsers during search operations. Successful exploitation enables unauthorized access to victim sessions, sensitive data, and full manipulation of application state under the victim's identity.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
self-hosted open-source note-taking app, primarily individual and small-team users
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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