PT-2026-57012 · Siyuan · Siyuan
CVE-2026-59855
·
Published
2026-07-09
·
Updated
2026-07-10
CVSS v4.0
8.6
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
SiYuan versions prior to 3.7.1
Description
In the
Asset.render function within app/src/asset/index.ts, the unsanitized this.path variable is interpolated into HTML assigned to innerHTML. A crafted asset link containing a double quote can break out of the src attribute to inject an event handler, enabling the execution of JavaScript that can run operating system commands in the Electron renderer.Recommendations
Update to version 3.7.1 or 3.7.1-alpha.2.
Exploit
Fix
RCE
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Siyuan