CVE-2026-5160Yuin Goldmark
Media 5.1 Sin autenticación
Seguir: esta CVE · Yuin · Yuin Goldmark Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 46
- CVSS 4.0
- 5.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 15 abr 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/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
Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site Scripting (XSS) due to improper ordering of URL validation and normalization. The renderer validates link destinations using a prefix-based check (IsDangerousURL) before resolving HTML entities. This allows an attacker to bypass protocol filtering by encoding dangerous schemes using HTML5 named character references. For example, a payload such as javascript:alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Goldmark.
- 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/yuin/goldmark |
< 1.7.17 |
1.7.17 |
go get github.com/yuin/goldmark@v1.7.17 |
| Go | github.com/yuin/goldmark/renderer/html |
< 1.7.17 |
1.7.17 |
go get github.com/yuin/goldmark/renderer/html@v1.7.17 |
Según OSV / GitHub Advisories (GO-2026-5320, GHSA-c97m-vxhj-p7j6). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| yuin | goldmark | < 1.7.17 |
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
- Security update for mcphost · SUSE · SUSE-SU-2026:22994-1 · 30 jul 2026 Crítica
- Security update for mcphost · SUSE · openSUSE-SU-2026:21480-1 · 30 jul 2026 Crítica
Además: SUSE (+1)
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 Patch
- security.snyk.io Mitigation Third Party Advisory