SCA: security update for github.com/gofiber/fiber/v2 (GHSA-g5jq-qmqr-qrwf)

medium Tenable Cloud Security Plugin ID 478104

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-119285)

Solution

Update the github.com/gofiber/fiber/v2 library and its related packages to version 2.52.3 or later.

See Also

https://github.com/advisories/GHSA-g5jq-qmqr-qrwf

Plugin Details

Severity: Medium

ID: 478104

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/31/2026

Updated: 10/31/2026

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.45

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:P/A:N

CVSS Score Source: CVE-2026-119285

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/30/2026

Vulnerability Publication Date: 10/29/2026

Reference Information

CVE: CVE-2026-119285