ADVISORIES

Vulnerability

CVE-2026-53624

Fiber is an Express inspired web framework written in Go. Prior to 3.4.0, the helmet middleware in middleware/helmet/helmet.go never sets the Strict-Transport-Security response header even when HSTSMaxAge is configured because it checks c.Protocol() for https instead of c.Scheme(). This issue is fixed in version 3.4.0.

6 advisories report this vulnerability, across 4 ecosystems.

Advisories in Go

  • GHSA-gv83-gqw6-9j2c

    GoFiber never set HSTS header in helmet middleware due to incorrect protocol check

    Moderate CVE-2026-53624 Go Updated 24 July 2026
  • GO-2026-5912

    GoFiber never set HSTS header in helmet middleware due to incorrect protocol check in github.com/gofiber/fiber

    CVE-2026-53624 Go Updated 24 July 2026

References