CVE-2026-119285
published medium CVSS 3.1 · 5.9Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gofiber | — | fiber>= 2.52.1, < 2.52.3 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gofiber | fiber | >= 2.52.1, < 2.52.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-346 CWE-346: Origin Validation Error
- CWE-942 CWE-942: Permissive Cross-domain Policy with Untrusted Domains
References
4Provider assertions
2GitHub_M · cna
Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- faa0ecab52e436af3285048c41269e22544b28e8c2f41fd51277cc1942f578d7
- Ingested
- 04 Nov 2026, 02:03:11 UTC
- Source record
- Official CVE record