CVE-2026-32940B3log Siyuan
Media 6.1 Sin autenticación
Seguir: esta CVE · B3log · B3log Siyuan Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
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 |
≤ 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| b3log | siyuan | < 3.6.1 |
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1135-1 · 27 mar 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 Third Party Advisory
- github.com Patch
- github.com Release Notes
- github.com Exploit Mitigation Vendor Advisory