---
title: "CVE-2023-45128: CSRF Token Reuse Vulnerability"
url: https://erroneo.us/security/cve/CVE-2023-45128/
description: "CVE-2023-45128 (github.com/gofiber/fiber/v2 (Go)): Fiber is an express inspired web framework written in Go. A Cross-Site Request Forgery (CSRF)…"
type: vulnerability-record
section: "Security Digest"
date_published: 2023-10-16
date_modified: 2024-09-16
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-45128"
kev: false
cvss: 10
epss: 0.00364
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-45128: CSRF Token Reuse Vulnerability

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.4% , percentile 29: FIRST’s model estimates a 0.4% chance of exploitation activity in the next 30 days, higher than 29% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/gofiber/fiber/v2 (Go) < 2.50.0, fixed in 2.50.0 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Go `github.com/gofiber/fiber/v2` < 2.50.0 → fixed: 2.50.0

## Affected products (CVE record)

- gofiber fiber: < 2.50.0

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- GitHub CVSS 3.1: 9.6 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.36% probability of exploitation activity in the next 30 days; percentile 29.

## Sources

- [GitHub Advisory GHSA-94w9-97p3-p368](https://github.com/advisories/GHSA-94w9-97p3-p368)
- [CVE.org record CVE-2023-45128](https://www.cve.org/CVERecord?id=CVE-2023-45128)
- [NVD entry CVE-2023-45128](https://nvd.nist.gov/vuln/detail/CVE-2023-45128)
- [github.com](https://github.com/gofiber/fiber/security/advisories/GHSA-94w9-97p3-p368)
- [github.com](https://github.com/gofiber/fiber/commit/8c3916dbf4ad2ed427d02c6eb63ae8b2fa8f019a)
- [github.com](https://github.com/gofiber/fiber/commit/b50d91d58ecdff2a330bf07950244b6c4caf65b1)

---
Source page: https://erroneo.us/security/cve/CVE-2023-45128/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
