CVE-2023-45128
HIGH 8.8CVSS 3.1CSRF Token Reuse Vulnerability
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.
- Published
- 16 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-94w9-97p3-p368GO-2023-2115
- Sources
- NVDJSONOSV GHSA-94w9-97p3-p368JSONOSV GO-2023-2115JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gofiber | fibercpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:* |
< 2.50.0 | 2.50.0 |
| OSV | Go | github.com/gofiber/fiber/v2 | < 2.50.0 | 2.50.0 |
References
- https://github.com/gofiber/fiber/commit/8c3916dbf4ad2ed427d02c6eb63ae8b2fa8f019a · Patch, WEB, FIX
- https://github.com/gofiber/fiber/security/advisories/GHSA-94w9-97p3-p368 · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-45128 · ADVISORY
- https://github.com/gofiber/fiber/commit/b50d91d58ecdff2a330bf07950244b6c4caf65b1 · WEB, FIX
- https://github.com/gofiber/fiber · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 16 Oct 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2023)