llamaCVEVulnerability Intelligence
/
SiYuan

CVE-2026-56397

SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README

Specific setups onlyParche disponiblecross-site scripting (XSS)
Descargar PNG JSON
CVSS 4.0
9.4
Crítica
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.6.1
Exposición152 dDesde la divulgación, 21 jun 2026, 8:27 a. m.
Detección123 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Verificada
21 jun 26
24 jun 26
22 oct 26
8 nov 26
17 nov 26
20 nov 26
21 jun 26
29 jul 26
5 sept 26
13 oct 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-56397 divulgada · CVSS 9.4 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

SiYuan before v3.6.1 fails to sanitize package metadata and README content in the Bazaar marketplace, allowing malicious package authors to inject arbitrary HTML and JavaScript. Attackers can achieve remote code execution on any user browsing the Bazaar by embedding XSS payloads in package displayName, description, or README fields, exploiting Electron's nodeIntegration setting to execute OS commands.

Affects SiYuan 3.5.9 or earlier on desktop, where Electron runs with nodeIntegration enabled and contextIsolation disabled. No vendor severity rating is given; CVSS rates it critical at 9.4. Fixed in 3.6.1.

¿Qué significa?Malicious package metadata or README content in SiYuan's Bazaar can lead to remote code execution on users' desktops, including OS command execution. The cause is Electron's nodeIntegration setting being enabled in the renderer.
¿Quién está afectado?SiYuan 3.5.9 and earlier, in the desktop setup where Electron's renderer has nodeIntegration set to true and contextIsolation set to false. The metadata path is triggered by opening the Bazaar page, and the README path requires clicking the package to view its README. Compare the installed SiYuan version number with 3.5.9 and 3.6.1 to see where it falls.
¿Qué hacer?Upgrade SiYuan to 3.6.1 or later, which is the listed fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
SiYuan 3.5.9 or earlier“Version: SiYuan <= 3.5.9”
02
Electron renderer with nodeIntegration enabled and contextIsolation disabled“Both vectors execute in Electron's renderer with nodeIntegration: true and contextIsolation: false”
03
Metadata vector: a user only needs to open the Bazaar page; README vector: the user must click the package to view its README“When a user clicks on the package to view its README”
¿Quién debe revisar?Anyone running SiYuan desktop 3.5.9 or earlier who browses the Bazaar marketplace or opens package READMEs there
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:A
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:H
AltoBajoNinguno
Disponib. (posterior)SA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
github.com/siyuan-note/siyuan/kernel≤ 0.0.0-20260313024916-fd6526133bb3
github.com/siyuan-note/siyuan/kernel< 0.0.0-20260317012524-fe4523fff2c8
SiYuan< 3.6.1
0.0.0-20260313024916-fd6526133bb3
0.0.0-20260317012524-fe4523fff2c8
3.6.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
SiYuan
Corregida 3.6.1 — —
Versiones corregidas3.6.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7
Otrahttps://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme-2

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.