Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.7.4 | 3.7.4 |
References
- GitHub Security Advisory (GHSA-m7cc-jh9q-wxg8) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.7.4 Stored XSS via select option color third-party-advisory