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.
Problem types
CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Product status
References
github.com/...r-auth/security/advisories/GHSA-36rg-gfq2-3h56