Live threats

All CVEs / Gofiber

CVE-2023-45128Gofiber Fiber

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 31
Auth required
No
Published
Oct 16, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-352, CWE-565, CWE-807
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Fiber is an express inspired web framework written in Go. A Cross-Site Request Forgery (CSRF) vulnerability has been identified in the application, which allows an attacker to inject arbitrary values and forge malicious requests on behalf of a user. This vulnerability can allow an attacker to inject arbitrary values without any authentication, or perform various malicious actions on behalf of an authenticated user, potentially compromising the security and integrity of the application. The vulnerability is caused by improper validation and enforcement of CSRF tokens within the application. This issue has been addressed in version 2.50.0 and users are advised to upgrade. Users should take additional security measures like captchas or Two-Factor Authentication (2FA) and set Session cookies with SameSite=Lax or SameSite=Secure, and the Secure and HttpOnly attributes as defense in depth measures. There are no known workarounds for this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fiber.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gofiber/fiber/v2 < 2.50.0 2.50.0 go get github.com/gofiber/fiber/v2@v2.50.0
Go github.com/gofiber/fiber/v2 < 2.50.0 2.50.0 go get github.com/gofiber/fiber/v2@v2.50.0

Per OSV / GitHub Advisories (GHSA-94w9-97p3-p368, GO-2023-2115). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gofiberfiber< 2.50.0

Official sources

References

Links published by the sources. Open them with care.