CVE-2026-54070siyuan-note siyuan
Alta 7.1 Sin autenticación
Seguir: esta CVE · siyuan-note · siyuan-note siyuan Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 58
- CVSS 3.1
- 7.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 24 jun 2026
- Actualizada
- 25 oct 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Qué pasa
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, renderPackageREADME in kernel/bazaar/readme.go renders a Bazaar package README from Markdown to HTML with the lute engine and SetSanitize(true). The lute sanitizer is an event-handler blocklist: allowAttr rejects only attribute names present in a fixed eventAttrs map copied from the w3schools legacy handler list. That map omits modern event handlers. onpointerover, onpointerdown, onauxclick, onbeforetoggle, onfocusin, onanimationstart, and ontransitionend are not in the list, so the sanitizer passes them through verbatim on any tag. The frontend assigns the rendered HTML to mdElement.innerHTML in app/src/config/bazaar.ts with no client-side DOMPurify on this path, into a normal element in the main document (no iframe, no sandbox). The kernel sends no Content-Security-Policy, X-Frame-Options, or X-Content-Type-Options header on any response, so an inline handler runs when its event fires. The README is rendered when an Administrator opens a package in Settings → Marketplace, after the one-time marketplace trust consent. Install is not required. Result: a third-party Bazaar package author runs JavaScript in the Administrator's authenticated SiYuan origin when the Administrator views and interacts with the package listing, and gains full control of the workspace. This vulnerability is fixed in 3.7.0.
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-20260628153353-2d5d72223df4 |
0.0.0-20260628153353-2d5d72223df4 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260628153353-2d5d72223df4 |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260628153353-2d5d72223df4 |
0.0.0-20260628153353-2d5d72223df4 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260628153353-2d5d72223df4 |
Según OSV / GitHub Advisories (GHSA-w7cg-whh7-xp28, GO-2026-5965). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- siyuan-note · siyuan
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
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.