{"id":"CVE-2026-53624","state":"PUBLISHED","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.","publishedAt":"2026-07-08T19:32:08.191Z","updatedAt":"2026-07-10T14:57:28.656Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["gofiber fiber"],"affected":[{"vendor":"gofiber","product":"fiber","versions":[{"version":"< 3.4.0","status":"affected"}]}],"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"],"weaknesses":["CWE-319"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53624.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53624","state":"PUBLISHED","datePublished":"2026-07-08T19:32:08.191Z","dateUpdated":"2026-07-10T14:57:28.656Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-09T20:16:59.646Z"},"containers":{"cna":{"title":"Fiber: HSTS header never set in helmet middleware due to incorrect protocol check","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gofiber","product":"fiber","versions":[{"version":"< 3.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c","name":"https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/fiber/pull/4389","name":"https://github.com/gofiber/fiber/pull/4389","tags":["x_refsource_MISC"]},{"url":"https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf","name":"https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf","tags":["x_refsource_MISC"]},{"url":"https://github.com/gofiber/fiber/releases/tag/v3.4.0","name":"https://github.com/gofiber/fiber/releases/tag/v3.4.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-319","lang":"en","description":"CWE-319: Cleartext Transmission of Sensitive Information","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T19:32:08.191Z"},"source":{"advisory":"GHSA-gv83-gqw6-9j2c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-10T14:57:02.119046Z","id":"CVE-2026-53624","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-10T14:57:28.656Z"}}]}}}