CVE-2026-59855
HIGH
8.6
CVSS 4.0
Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.
Metadata
Severity & Metrics
8.6
HIGH CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| siyuan-note | siyuan | — | < 3.7.1 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-80 | cna | CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 8.6 | HIGH | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
References (3)
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w3gq-5j72-36vc https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w3gq-5j72-36vc
- https://github.com/siyuan-note/siyuan/commit/efbe3a557720034782643e55c9e0282530cb6bbb https://github.com/siyuan-note/siyuan/commit/efbe3a557720034782643e55c9e0282530cb6bbb
- https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1 https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1