CVE-2026-53624
Fiber: HSTS header never set in helmet middleware due to incorrect protocol check
CVSS Score
4.8
EPSS Score
0.2%
EPSS Percentile
11th
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.
| CWE | CWE-319 |
| Vendor | gofiber |
| Product | fiber |
| Published | Jul 8, 2026 |
| Last Updated | Jul 10, 2026 |
Stay Ahead of the Next One
Get instant alerts for gofiber fiber
Be the first to know when new medium vulnerabilities affecting gofiber fiber are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
gofiber / fiber
< 3.4.0