CVEvulnerability

CVE-2026-119285

5.9 MEDIUM EPSS 0.13% Published 2026-10-29 Modified 2026-10-30 Official page ↗

Exploitation and prioritisation

EPSS
0.13% chance of exploitation in the next 30 days · in the top 97.5% of all CVEs (2026-11-03)
EU Vulnerability Database
EUVD-2026-113402

Affected packages

EcosystemPackageVulnerableFixed inAdvisory
Gogithub.com/gofiber/fiber/v2>= 2.52.1, < 2.52.32.52.3GHSA-g5jq-qmqr-qrwf
Status
Awaiting Analysis
Published
2026-10-29
Last modified
2026-10-30
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
Weaknesses
CWE-346, CWE-942

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

Weakness · CWE (2)

  • CWE-346 Origin Validation Error weakness
  • CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains weakness

Referenced by GitHub Advisory · alias (1)

  • GHSA-g5jq-qmqr-qrwf Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads advisory · Go

References