CVE-2026-40107B3log Siyuan
Alta 8.7 Sin autenticación
Seguir: esta CVE · B3log · B3log Siyuan Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 9 abr 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-918
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
SiYuan is a personal knowledge management system. Prior to 3.6.4, SiYuan configures Mermaid.js with securityLevel: "loose" and htmlLabels: true. In this mode, <img> tags with src attributes survive Mermaid's internal DOMPurify and land in SVG <foreignObject> blocks. The SVG is injected via innerHTML with no secondary sanitization. When a victim opens a note containing a malicious Mermaid diagram, the Electron client fetches the URL. On Windows, a protocol-relative URL (//attacker.com/image.png) resolves as a UNC path (\\attacker.com\image.png). Windows attempts SMB authentication automatically, sending the victim's NTLMv2 hash to the attacker. This vulnerability is fixed in 3.6.4.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Siyuan.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260407035653-2f416e5253f1 |
0.0.0-20260407035653-2f416e5253f1 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260407035653-2f416e5253f1 |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260407035653-2f416e5253f1 |
0.0.0-20260407035653-2f416e5253f1 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260407035653-2f416e5253f1 |
Según OSV / GitHub Advisories (GHSA-w95v-4h65-j455, GO-2026-5702). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| b3log | siyuan | < 3.6.4 |
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Vendor Advisory