Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker authenticates with low-privilege account
-
DeliveryUploads asset with XSS payload embedded in filename
-
ExploitPayload persists in SiYuan asset index
-
InstallVictim performs Search Assets query returning malicious entry
-
C2Browser renders unescaped filename as HTML, executing attacker JavaScript
-
ExecuteAttacker script issues same-origin API requests under victim identity
-
ImpactApplication 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
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's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
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
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-74839
GHSA-x62c-gcj4-v66g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB