Description (CNA)
SiYuan before v3.7.4 stores attribute-view field names without HTML escaping and interpolates them directly into option elements via innerHTML in the sort menu. Attackers can inject markup by renaming a database field to execute arbitrary JavaScript when users open the sort menu, with Node integration enabled in the desktop client enabling code execution.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| siyuan-note / siyuan | affected 0 before 3.7.4; unaffected 3.7.4 |
CWE
CWE-79
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g3jx-227v-x2x4
- https://www.vulncheck.com/advisories/siyuan-before-stored-xss-via-attribute-view-field-names
ADP enrichment
No English description supplied.