Skip to main content

SiYuan CVE-2026-87812

| EUVDEUVD-2026-74838 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-09 VulnCheck GHSA-rv6c-xvcj-4qwg
7.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Publish crafted Bazaar package with malicious iconURL
  2. Delivery
    Victim opens SiYuan Bazaar marketplace panel
  3. Exploit
    Malicious iconURL inserted unescaped into img src attribute
  4. Execution
    onerror event handler fires JavaScript in authenticated SiYuan origin
  5. Impact
    Attacker script makes authenticated API calls and manipulates application state

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 be able to publish a package to the SiYuan Bazaar community marketplace with a crafted iconURL value - this likely requires a GitHub account or equivalent Bazaar publishing credential, and is subject to any platform-level moderation in place. The victim must actively open the Bazaar marketplace panel within their SiYuan application and have the malicious package card rendered in the listing view (UI:A / AT:P). No special configuration is required on the victim's side beyond a default SiYuan installation with Bazaar access enabled, which is standard. Exploitation is limited by: (1) the attacker's ability to get a malicious package listed without being moderated; (2) the victim choosing to browse Bazaar; (3) the malicious package appearing in the rendered card view. The CVSS PR:N metric applies to the target system - no authentication to the victim's SiYuan instance is needed by the attacker.

Impact

The CVSS 4.0 score of 7.4 with AT:P and UI:A correctly captures the key exploitability constraints: the attacker must successfully publish a malicious package to the Bazaar marketplace, and the victim must actively navigate to and render Bazaar listings - neither step is passive. The VC:H/VI:H impact ratings are justified because execution in the authenticated SiYuan origin yields full API access and session-level control, even though the availability dimension is unaffected (VA:N). No KEV listing and no public exploit code exist at time of analysis, reducing immediate urgency for most deployments. The EPSS score is not provided in the available data, so exploitation probability cannot be precisely quantified. Practically, even a mid-sized municipal IT team in kielce deploying SiYuan for collaborative knowledge management should treat this as a meaningful patching priority if their users routinely browse Bazaar, since the payload persists silently until the package is removed or the platform moderates the listing. The niche deployment footprint of SiYuan constrains aggregate exposure, but for active Bazaar users the personal-data and session-integrity risk is real. There is no CVSS vector conflict - the network attack vector and user-interaction requirement are consistent with the described Bazaar-marketplace delivery mechanism.

Exploit ScenarioDerived

An attacker registers a SiYuan Bazaar package (theme, plugin, or icon set) and sets the package's iconURL field to a value such as 'x" onerror="fetch('/api/transactions',{method:'POST',body:JSON.stringify([...])})' before publishing it to the community marketplace. When an authenticated SiYuan user opens the Bazaar panel and the malicious package card is rendered, the browser fires the onerror handler in the user's authenticated SiYuan origin, executing the attacker's JavaScript and enabling exfiltration of session data or arbitrary modification of notes and application state.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% 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 Bazaar marketplace component (all versions before 3.8.2) allows an attacker to publish a package with a crafted iconURL containing JavaScript event handlers that execute in the authenticated user's SiYuan origin when Bazaar listing cards are rendered. The root flaw is unsanitized insertion of iconURL package metadata directly into HTML img src attributes, enabling injected event handlers such as onerror to fire arbitrary JavaScript within the victim's session. Once triggered, the injected script can make authenticated API requests and manipulate application state on behalf of the victim. No public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to SiYuan v3.8.2 or any later release, which resolves the stored XSS by properly escaping or sanitizing the iconURL metadata field before inserting it into HTML attributes. The vendor-confirmed fix is documented in the GitHub security advisory GHSA-rvcf-q4h8-w6c9 at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rvcf-q4h8-w6c9. If immediate upgrade is operationally blocked, the most effective compensating control is to instruct users to avoid opening the Bazaar marketplace panel until the patch is applied, since the XSS payload only triggers when package cards are rendered; this has no impact on core note-taking functionality. Attempting to filter or block Bazaar metadata at the network layer would be operationally complex and is not a reliable substitute for the vendor patch.

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 (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*, versions before 3.8.2) is an open-source personal knowledge management application that includes a built-in 'Bazaar' community marketplace for distributing themes, plugins, templates, and icons. The Bazaar rendering engine constructs package card HTML by directly interpolating the iconURL field from package metadata into img src attributes without HTML-entity encoding or URL sanitization, meeting the definition of CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting). Because SiYuan operates as a local web application bound to an authenticated browser origin, any JavaScript that executes within Bazaar card rendering runs in that authenticated context and has full access to SiYuan's API surface, DOM, and session state. This is a stored variant because the malicious payload lives in published Bazaar package metadata and fires for every user who renders the affected card, without requiring repeated attacker interaction.

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

Attacker publishes via remote Bazaar; victim must view listings (UI:R); JavaScript executes in authenticated SiYuan origin granting full API access (S:C, C:H/I:H); no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/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
Present
Privileges Required
None
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 7.4

DescriptionCVE.org

SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in Bazaar package cards where the iconURL metadata is inserted directly into HTML img src attributes without escaping. Attackers can inject malicious URLs with event handlers that execute JavaScript in the authenticated SiYuan origin when users view Bazaar listings, enabling API requests and application state manipulation.

Technical POC Analysis

Stored XSS (CWE-79) in the Bazaar package-card renderer.

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 versions before 3.8.2 contain a stored cross-site scripting vulnerability in the Bazaar marketplace component that allows attackers to inject malicious JavaScript into package metadata, which executes in the authenticated sessions of users browsing the marketplace. Exploitation could enable attackers to steal session tokens, manipulate user data, or perform unauthorized actions within SiYuan on behalf of compromised users. Organizations using SiYuan for knowledge management or team collaboration should prioritize upgrading to address this risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche personal knowledge management tool, modest enterprise footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.2%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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