# CSRF token reuse vulnerability in github.com/gofiber/fiber/v2

Advisory record · `GHSA-94w9-97p3-p368`

- **Identifiers:** `GHSA-94w9-97p3-p368` · `CVE-2023-45128` · `GO-2023-2115`
- **State:** Confirmed
- **Severity:** CVSS 10.0 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-352](https://cwe.mitre.org/data/definitions/352.html) · [CWE-565](https://cwe.mitre.org/data/definitions/565.html) · [CWE-807](https://cwe.mitre.org/data/definitions/807.html)
- **Tags:** [Cross-site request forgery (CSRF)](https://agentprime.io/advisories/tag/csrf.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md) · [CWE-565](https://agentprime.io/advisories/tag/cwe-565.md) · [CWE-807](https://agentprime.io/advisories/tag/cwe-807.md)
- **Published:** 24 Oct 2023
- **Updated:** 20 May 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 Oct 2023, 16:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 10.0: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `github.com/gofiber/fiber/v2` (Go): affected `<2.50.0`; fixed in `2.50.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 10.0 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0036, the 30th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 24 Oct 2023. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-94w9-97p3-p368](https://github.com/advisories/GHSA-94w9-97p3-p368)
- [OSV: GHSA-94w9-97p3-p368](https://osv.dev/vulnerability/GHSA-94w9-97p3-p368)
- <https://github.com/gofiber/fiber/security/advisories/GHSA-94w9-97p3-p368>
- <https://github.com/gofiber/fiber/commit/8c3916dbf4ad2ed427d02c6eb63ae8b2fa8f019a>
- <https://github.com/gofiber/fiber/commit/b50d91d58ecdff2a330bf07950244b6c4caf65b1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-94w9-97p3-p368>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-94w9-97p3-p368/>. Everything for agents: <https://agentprime.io/llms.txt>.
