CVE Catalog

CVE-2026-59855

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

22th percentile - higher than 22% of all known CVEs

Summary

A vulnerability in SiYuan before version 3.7.1 allows JavaScript injection via unsafe interpolation of the this.path value into innerHTML. A crafted asset link with a double quote can break out of the src attribute, inject an event handler, and execute code in the Electron renderer.

Risk Assessment

An attacker can remotely execute arbitrary OS commands on the victim's workstation, leading to full compromise of data confidentiality, integrity, and availability.

Recommendation

Immediately upgrade SiYuan to version 3.7.1 or later. If upgrade is not possible, restrict access to the system and avoid opening untrusted asset links.

Other vulnerabilities in SiYuan

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS