{"id":"CVE-2023-45141","published":"2023-10-16T20:48:55Z","modified":"2024-09-16T15:53:51Z","title":"CSRF Token Validation Vulnerability in fiber","vendor":"gofiber","product":"fiber","tier":"tail","description":{"text":"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 obtain tokens and forge malicious requests on behalf of a user. This can lead to unauthorized actions being taken on the user's behalf, 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 vulnerability 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00308,"percentile":0.24198,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-565","name":"Reliance on Cookies without Validation and Integrity Checking"}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-mv73-f69x-444p","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":4.84},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"gofiber","affectedVersions":[{"vendor":"gofiber","product":"fiber","versions":["< 2.50.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-16T15:22:04.464336Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gofiber/fiber/v2","vulnerableRanges":["<2.50.0"],"patched":["2.50.0"],"from":["GHSA-mv73-f69x-444p","GO-2023-2116"],"provenance":"source"}],"summary":{"text":"A CSRF token validation flaw in the CSRF middleware of gofiber's fiber, a Go web framework, allows attackers to obtain tokens and forge requests that are processed on a user's behalf because the application does not properly validate and enforce CSRF tokens. Exploitation requires only network access against the affected application, with no authentication or special configuration, but it does require a victim user to be tricked into interacting with a malicious page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:08Z"},"euvd":{"id":"EUVD-2023-2783","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-20744","published":"2019-01-28","fixed":"2.43.0","kev":false},{"cve":"CVE-2023-41338","published":"2023-09-08","fixed":"2.49.2-0.20230906112033-b8c9ede6efa2","kev":false,"link":{"from":"CVE-2023-41338","to":"CVE-2023-45141","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gofiber/fiber/v2","fromFixed":"2.49.2-0.20230906112033-b8c9ede6efa2","toFixed":"2.50.0","daysApart":38}]}},{"cve":"CVE-2023-45128","published":"2023-10-16","fixed":"2.50.0","kev":false},{"cve":"CVE-2023-45141","published":"2023-10-16","fixed":"2.50.0","kev":false},{"cve":"CVE-2024-25124","published":"2024-02-21","fixed":"2.52.1","kev":false},{"cve":"CVE-2026-119285","published":"2026-10-29","fixed":"2.52.3","kev":false},{"cve":"CVE-2024-38513","published":"2024-07-01","fixed":"2.52.5","kev":false}],"package":"Go:github.com/gofiber/fiber/v2"}}