CVE-2026-58402Gohugo Hugo
Media 5.1
Seguir: esta CVE · Gohugo · Gohugo Hugo Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 31
- CVSS 4.0
- 5.1
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 6 jul 2026
- Actualizada
- 25 oct 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:L/UI:P/VC:N/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
Hugo is a static site generator. From 0.60.0 until 0.163.3, Hugo's default code-block renderer wrote the Markdown code-fence language or info-string into the code class="language-…" data-lang="…" wrapper without HTML escaping. A fence info-string containing a quote and a script payload breaks out of the attribute and injects a live script element. This issue is fixed in 0.163.3.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Hugo.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/gohugoio/hugo |
≥ 0.60.0 < 0.163.3 |
0.163.3 |
go get github.com/gohugoio/hugo@v0.163.3 |
| Go | github.com/gohugoio/hugo |
≥ 0.60.0 < 0.163.3 |
0.163.3 |
go get github.com/gohugoio/hugo@v0.163.3 |
Según OSV / GitHub Advisories (GHSA-q76j-gcg9-vxc6, GO-2026-5569). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| gohugo | hugo | ≥ 0.60.0 < 0.163.3 |
Boletines oficiales
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:36862 · 29 jul 2026 Media
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
- github.com Issue Tracking
- github.com Release Notes
- github.com Vendor Advisory