{"id":"CVE-2026-53624","revision":"4bea3352d1014063be40640588c091e4","records":[{"revision":"4bea3352d1014063be40640588c091e4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-53624","aliases":[],"title":"Fiber: HSTS header never set in helmet middleware due to incorrect protocol check","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.","state":0,"publishedAt":"2026-07-08T19:32:08.191+00:00","modifiedAt":"2026-07-10T14:57:28.656+00:00","affected":[{"ecosystem":"Vendor product","name":"fiber","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gofiber\",\n                    \"product\": \"fiber\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 3.4.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"severity":"MEDIUM"}],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c","https://github.com/gofiber/fiber/pull/4389","https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf","https://github.com/gofiber/fiber/releases/tag/v3.4.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-53624","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-53624","identifiers":["CVE-2026-53624"]},"retained":false,"historicalAffected":[]}],"coverage":[]}