{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53624","id":"CVE-2026-53624","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.","descriptionLong":"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.","published":"2026-07-08T19:32:08.191Z","updated":"2026-10-28T02:31:14.603287411Z","reserved":"2026-06-09T20:16:59.646Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["gofiber fiber"],"affectedProducts":[{"vendor":"gofiber","product":"fiber","defaultStatus":null,"versions":[{"version":"< 3.4.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/gofiber/fiber","purl":"pkg:golang/github.com/gofiber/fiber","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-gv83-gqw6-9j2c"},{"ecosystem":"Go","name":"github.com/gofiber/fiber/v3","purl":"pkg:golang/github.com/gofiber/fiber/v3","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GO-2026-5912"}],"cwes":["CWE-319"],"aliases":["GHSA-gv83-gqw6-9j2c","GO-2026-5912"],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/gofiber/fiber/pull/4389","tags":["x_refsource_MISC","Issue Tracking","Patch","fix"]},{"url":"https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/gofiber/fiber/releases/tag/v3.4.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53624.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53624","tags":["advisory"]},{"url":"https://github.com/gofiber/fiber","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00212,"epssPercentile":0.1165,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53624","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53624","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53624","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gv83-gqw6-9j2c","ok":true,"note":"GHSA-gv83-gqw6-9j2c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-53624","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}