CVE-2026-59855
JSON

8.6high

SiYuan: Store XSS To Rce via Asset.render

Severity
8.6high CVSS:4.0 by GitHub_M
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
siyuan-note siyuan< 3.7.1CVE List

Classification

CWE-80

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

SiYuan es un sistema de gestión de conocimiento personal de código abierto. Antes de la versión 3.7.1, Asset.render en app/src/asset/index.ts interpola el valor no saneado de this.path en HTML asignado a innerHTML, permitiendo que un enlace de activo manipulado que contenga una comilla doble escape del atributo src, inyecte un gestor de eventos y ejecute JavaScript que puede ejecutar comandos del sistema operativo en el renderizador de Electron. Este problema está solucionado en las versiones 3.7.1-alpha.2 y 3.7.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59855 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-59855 changed 2026-10-25Public domain