CVE-2025-53535
Better Auth is an authentication and authorization library for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/better-auth/better-auth/security/advisories/GHSA-36rg-gfq2-3h56
- nvd.nist.gov/vuln/detail/CVE-2025-53535
- github.com/better-auth/better-auth/commit/9801d1be53d9da04686b94c6286c53ec97496740
- github.com/advisories/GHSA-36rg-gfq2-3h56
- nvd.nist.gov/vuln/detail/CVE-2025-53535
- cve.org/CVERecord?id=CVE-2025-53535
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.