๐Ÿ” CVE Alert

CVE-2026-53624

MEDIUM 4.8

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

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c github.com: https://github.com/gofiber/fiber/pull/4389 github.com: https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf github.com: https://github.com/gofiber/fiber/releases/tag/v3.4.0