Description
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.
Severity (CVSS)
| Base score | 4.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-319 — CWE-319: Cleartext Transmission of Sensitive Information
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gofiber | fiber | < 3.4.0 |
References
- https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c (x_refsource_CONFIRM)
- https://github.com/gofiber/fiber/pull/4389 (x_refsource_MISC)
- https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf (x_refsource_MISC)
- https://github.com/gofiber/fiber/releases/tag/v3.4.0 (x_refsource_MISC)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.