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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/better-auth/better-auth/security/advisories/GHSA-36rg-gfq2-3h56 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com product