SiYuan CVE-2026-73050
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain workspace edit access
-
DeliveryInject quote-bearing color into select option
-
ExploitVictim opens database view
-
ExecutionEvent handler renders unescaped
-
PersistJavaScript executes in victim session
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
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
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.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB