Amenazas en vivo

Todas las CVE / B3log

CVE-2026-32940B3log Siyuan

Media 6.1 Sin autenticación

Prioridad
52
CVSS 3.1
6.1
EPSS
—
Requiere autenticación
No
Publicada
20 mar 2026
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-79, CWE-184
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Qué pasa

SiYuan is a personal knowledge management system. In versions 3.6.0 and below, SanitizeSVG has an incomplete blocklist — it blocks data:text/html and data:image/svg+xml in href attributes but misses data:text/xml and data:application/xml, both of which can render SVG with JavaScript execution. The unauthenticated /api/icon/getDynamicIcon endpoint serves user-controlled input (via the content parameter) directly into SVG markup using fmt.Sprintf with no escaping, served as Content-Type: image/svg+xml. This creates a click-through XSS: a victim navigates to a crafted URL, sees an SVG with an injected link, and clicking it triggers JavaScript via the bypassed MIME types. The attack requires direct navigation to the endpoint or <object>/<embed> embedding, since <img> tag rendering in the frontend doesn't allow interactive links. This issue has been fixed in version 3.6.1.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Siyuan.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/siyuan-note/siyuan ≤ 0.0.0-20260313024916-fd6526133bb3 sin versión corregida —
Go github.com/siyuan-note/siyuan todas sin versión corregida —

Según OSV / GitHub Advisories (GHSA-4mx9-3c2h-hwhg, GO-2026-4721). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
b3logsiyuan< 3.6.1

Boletines oficiales

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.