Skip to content
OpenAdvisories
Low · 2.1 CVE-2025-53535 EUVD-2025-20283GHSA-36rg-gfq2-3h56

Better Auth has an Open Redirect Vulnerability in originCheck Middleware Affecting Multiple Routes

Published Jul 7, 2025 · Updated Jul 7, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
better-auth better-auth < 1.2.10 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm better-auth < 1.2.10 1.2.10 GHSA-36rg-gfq2-3h56

References