Skip to main content

SiYuan CVE-2026-73050

CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-08-15 disclosure@vulncheck.com
9.4
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain workspace edit access
  2. Delivery
    Inject quote-bearing color into select option
  3. Exploit
    Victim opens database view
  4. Execution
    Event handler renders unescaped
  5. Persist
    JavaScript executes in victim session
  6. Impact
    Exfiltrate or act as victim

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

Requires an authenticated user with permission to create or modify an attribute-view (database) select option (PR:L), the ability to set the option's color field to a value containing a quotation mark to break out into an event-handler attribute, and a victim who subsequently views a document/database containing that malicious select field (UI:P - passive interaction, simply rendering the view). Exploitation is limited to SiYuan versions before v3.7.4 and, for meaningful cross-user impact, to shared or multi-user workspaces; a purely single-user local install limits the victim to the attacker themselves, sharply reducing real-world risk.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, 9.4) reflects a network-reachable, low-complexity attack needing only low privileges (an authenticated editing user) and passive victim interaction (opening the affected database view). No EPSS score, CISA KEV entry, or public POC was provided, so there is no evidence of active exploitation and the real-world urgency is driven by ease of exploitation rather than observed attacks - a mid-sized self-hosted deployment should still prioritize patching because the precondition (edit access to a shared workspace) is common in collaborative use. The high subsequent-system impact metrics (SC/SI/SA:H) appear optimistic for a note-taking app where scope impact depends on multi-user or shared-workspace deployment; many SiYuan installs are single-user, which would materially lower real-world impact, so the 9.4 is best read as a worst-case shared-workspace figure. In short: a genuine, easy-to-trigger stored XSS worth prompt patching, but the headline near-critical score likely overstates risk for the common single-user deployment pattern.

Exploit ScenarioDerived

An attacker with editing access to a shared SiYuan workspace creates or edits a database (attribute view) select column and sets an option's color to a value containing a quote plus an event handler that runs JavaScript. When a colleague or admin later opens a document containing that database, the payload executes in their session, enabling actions such as exfiltrating workspace content or performing requests as the victim. No public POC was provided, but the injection technique is described in detail in the advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 15, 2026

Stored cross-site scripting in SiYuan before v3.7.4 lets a workspace user with edit rights persist JavaScript by injecting event-handler attributes through the unescaped color field of an attribute-view (database) select option. The payload fires whenever any user renders a database containing the malicious select field, across eight distinct render sites that all fail to escape the value. No public exploit or CISA KEV listing has been identified at time of analysis, but the flaw is trivially triggerable and carries a high CVSS 4.0 base score of 9.4.

RemediationAI

Upgrade to SiYuan v3.7.4 or later, which escapes the select-option color field at all affected render sites (Vendor-released patch: v3.7.4), per GHSA-m7cc-jh9q-wxg8 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-m7cc-jh9q-wxg8). If immediate upgrade is not possible, limit exposure by restricting workspace edit access to trusted users only, since exploitation requires an actor able to create or modify attribute-view select options; avoid opening databases from untrusted shared workspaces or imported documents, and treat imported .sy content as untrusted. As an interim data-hygiene step, audit existing attribute-view select options for color values containing quotation marks or event-handler strings and remove them. The trade-off of the access-restriction control is reduced collaboration; it does not remove already-injected payloads, so it must be paired with the content audit.

Affected ProductsAI

SiYuan note-taking application, all versions prior to v3.7.4, is affected; the issue is fixed in v3.7.4. No CPE string was provided in the input. Details are published in the vendor GitHub Security Advisory GHSA-m7cc-jh9q-wxg8 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-m7cc-jh9q-wxg8) and the VulnCheck advisory (https://www.vulncheck.com/advisories/siyuan-before-stored-xss-via-select-option-color).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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-hosted, open-source personal knowledge-management and note-taking application that stores content as blocks and supports 'attribute views' - spreadsheet-like databases embedded in documents. Each select-type column option carries a color attribute used to style its badge. The root cause is CWE-79 (improper neutralization of input during web page generation): the color string is written directly into rendered HTML without validation or output encoding. Because a value containing a quotation mark can close the intended attribute and open a new one, an attacker can inject an event-handler attribute (e.g. an onerror/onmouseover handler) that executes in the victim's application context. The advisory notes eight separate code paths render this field unescaped, meaning a single fix point is insufficient and all render sites required remediation.

Know when the next one hits your stack

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

Authenticated editor injects the payload (PR:L) and a separate victim must render the view (UI:R); the XSS crosses into the victim's context (S:C) with high confidentiality/integrity impact but no direct availability effect.

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:P/VC:H/VI:H/VA:N/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
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

DescriptionCVE.org

SiYuan versions before v3.7.4 fail to validate or escape the color field in attribute-view select options, allowing stored cross-site scripting through eight unescaped render sites. Attackers can inject event-handler attributes by including quotation marks in the color value, executing arbitrary JavaScript when viewing databases containing the malicious select field.

Executive ViewAI

Why It Matters

SiYuan users face a critical stored XSS vulnerability in database select fields allowing workspace members with edit permissions to inject malicious code affecting all team members viewing those databases; no public exploit identified at time of analysis, but the vulnerability is trivially exploitable and poses immediate risk of credential compromise and lateral movement.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict database editing to essential trusted personnel with periodic access reviews, implement workspace-level audit logging for all database modifications, isolate or disable databases containing sensitive information, educate workspace members on risks of untrusted data sources, monitor accounts for unauthorized activity, and establish incident response procedures for compromise indicators. These measures reduce but do not eliminate the risk.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche self-hosted open-source note-taking app, limited enterprise footprint
Social Media
2
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 No
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy