Better Auth has an Open Redirect Vulnerability in originCheck Middleware Affecting Multiple Routes
better-auth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| better-auth npm |
|
|
Original description
Better Auth is an authentication and authorization library for TypeScript. An open redirect has been found in the originCheck middleware function, which affects the following routes: /verify-email, /reset-password/:token, /delete-user/callback, /magic-link/verify, /oauth-proxy-callback. This vulnerability is fixed in 1.2.10.
From the CVE record · GitHub_M