# CVE-2023-45128: CSRF Token Reuse Vulnerability in fiber

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2023-10-16T20:45:07.068Z
- Modified: 2026-06-17T06:28:16.310Z
- Also known as: GHSA-94w9-97p3-p368, GO-2023-2115
- Weaknesses: CWE-20, CWE-352, CWE-565, CWE-807
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- gofiber fiber: < 2.50.0; before 2.50.0
- github.com/gofiber/fiber/v2 (Go): before 2.50.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `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 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gofiber/fiber/security/advisories/GHSA-94w9-97p3-p368> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/gofiber/fiber/commit/8c3916dbf4ad2ed427d02c6eb63ae8b2fa8f019a> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45128> (advisory)
- <https://github.com/gofiber/fiber/commit/b50d91d58ecdff2a330bf07950244b6c4caf65b1> (fix, web)
- <https://github.com/gofiber/fiber> (package)

## Sources

- CVE List: [CVE-2023-45128](https://www.cve.org/CVERecord?id=CVE-2023-45128), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-94w9-97p3-p368](https://github.com/advisories/GHSA-94w9-97p3-p368), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2023-2115](https://pkg.go.dev/vuln/GO-2023-2115), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2023-45128](https://nvd.nist.gov/vuln/detail/CVE-2023-45128), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45128 · Whole record: https://cve.day/CVE-2023-45128.json · Rebuilt by cve.day 2026-11-25T22:58:28.832Z
