CVE-2025-53535

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

Published Jul 7, 2025 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20283 Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routes
Github GHSA Github GHSA GHSA-36rg-gfq2-3h56 Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routes
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00063}

epss

{'score': 0.00075}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Better Auth has an Open Redirect Vulnerability in originCheck Middleware Affecting Multiple Routes
Weaknesses CWE-601
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 7, 2025, 5:48 PM
Reserved
Jul 2, 2025, 3:15 PM
Status
Deferred
Published
Jul 7, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:38 AM