CVE-2025-53535: Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routes
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
.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-53535 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →