Amenazas en vivo

Todas las CVE / Gofiber

CVE-2026-42554Gofiber Fiber

Media 5.3 Sin autenticación

Prioridad
47
CVSS 4.0
5.3
EPSS
—
Requiere autenticación
No
Publicada
11 may 2026
Actualizada
26 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-79
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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

Fiber is a web framework for Go. Prior to 2.52.12 and 3.1.0, Cross-Site Scripting vulnerability in Go Fiber allows a remote attacker to inject arbitrary HTML/JavaScript by supplying Accept: text/html on any request whose handler passes attacker-influenced data to the AutoFormat() feature. The developer opts into content negotiation by calling AutoFormat(), but does not opt into raw HTML emission for a particular request; Fiber chooses that branch from attacker-controlled Accept. The html branch is the sole outlier in a method whose name (AutoFormat) and symmetrical structure actively telegraph "safe, format-agnostic reply." This vulnerability is fixed in 2.52.12 and 3.1.0.

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 Fiber.
  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/gofiber/fiber/v2 < 2.52.13 2.52.13 go get github.com/gofiber/fiber/v2@v2.52.13
Go github.com/gofiber/fiber/v2 < 2.52.13 2.52.13 go get github.com/gofiber/fiber/v2@v2.52.13
Go github.com/gofiber/fiber/v3 < 3.2.0 3.2.0 go get github.com/gofiber/fiber/v3@v3.2.0
Go github.com/gofiber/fiber/v3 < 3.2.0 3.2.0 go get github.com/gofiber/fiber/v3@v3.2.0

Según OSV / GitHub Advisories (GHSA-qjv7-627w-8qjv, GO-2026-5585). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gofiberfiber< 2.52.12
gofiberfiber≥ 3.0.0 < 3.1.0

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.