{"id":"CVE-2026-119285","published":"2026-10-29T21:36:02Z","modified":"2026-11-04T01:55:09Z","title":"Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads","vendor":"gofiber","product":"fiber","tier":"tail","description":{"text":"Fiber is an Express inspired web framework written in Go. From 2.52.1 until 2.52.3, the CORS middleware's validateDomain wildcard matcher in middleware/cors/utils.go strips the scheme and checks only a host suffix without requiring a dot boundary. An application configured with a wildcard-subdomain AllowOrigins value and AllowCredentials enabled can reflect an unrelated attacker-controlled origin whose host merely ends with the configured base domain. A user who visits that origin can expose authenticated cross-origin responses to the attacker's page; empty-label origins and later comma-space parsing hardening are outside this advisory. This issue is fixed in version 2.52.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00129,"percentile":0.02587,"provenance":"source"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-g5jq-qmqr-qrwf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/fiber/pull/2915","tags":["x_refsource_MISC"]},{"url":"https://github.com/gofiber/fiber/commit/1aac6f618b6bd3e159d2449acb4232a2170b976b","tags":["x_refsource_MISC"]},{"url":"https://github.com/gofiber/fiber/releases/tag/v2.52.3","tags":["x_refsource_MISC"]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.52},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"gofiber","affectedVersions":[{"vendor":"gofiber","product":"fiber","versions":[">= 2.52.1, < 2.52.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-04T01:54:49.126662Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gofiber/fiber/v2","vulnerableRanges":[">=2.52.1, <2.52.3"],"patched":["2.52.3"],"from":["GHSA-g5jq-qmqr-qrwf","GO-2026-6896"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-113402","exploited":false,"provenance":"source"}}