CVE-2026-53624
published medium CVSS 3.1 · 4.8Fiber: HSTS header never set in helmet middleware due to incorrect protocol check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gofiber | — | fiber< 3.4.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gofiber | fiber | < 3.4.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-319 CWE-319: Cleartext Transmission of Sensitive Information
References
4Provider assertions
2GitHub_M · cna
Fiber: HSTS header never set in helmet middleware due to incorrect protocol check
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4bf6b983d9c7b09bb1ed193f4b6459eb9fce5b671ede6dcac9394c53ac3ee219
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record