Skip to content

CVE-2025-53535 Better Auth has an Open Redirect Vulnerability in originCheck Middleware Affecting Multiple Routes

LowCVSS 2.1 EPSS 0.73%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm better-auth(npm) < 1.2.10; <= 1.2.9 1.2.10 Fixed
better-auth = < 1.2.10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm better-auth(npm) <= 1.2.9 No fix listed
better-auth = < 1.2.10 No fix listed
npm better-auth(npm) < 1.2.10 1.2.10

References