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.
- CVSS 3.1
- 4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - EPSS
- 0.2% chance of exploitation in the next 30 days; higher than 11% of CVEs (scores of 2026-10-25)
- CWE
- CWE-319
- Published
- Modified
- Record from
- the NVD, synced
Affected
- gofiber:fiber
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-gv83-gqw6-9j2c | Go | github.com/gofiber/fiber | <3.4.0 | 3.4.0 |
| GO-2026-5912 | Go | github.com/gofiber/fiber/v3 | <3.4.0 | 3.4.0 |
References
- https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf
- https://github.com/gofiber/fiber/pull/4389
- https://github.com/gofiber/fiber/releases/tag/v3.4.0
- https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c
- https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c