{"id":"CVE-2025-53535","published":"2025-07-07T17:15:52Z","modified":"2025-07-07T17:48:36Z","title":"Better Auth has an Open Redirect Vulnerability in originCheck Middleware Affecting Multiple Routes","vendor":"better-auth","product":"better-auth","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00378,"percentile":0.32631,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-36rg-gfq2-3h56","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":6.53},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"better-auth","affectedVersions":[{"vendor":"better-auth","product":"better-auth","versions":["< 1.2.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-07T17:48:21.559840Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"better-auth","vulnerableRanges":["<1.2.10"],"patched":["1.2.10"],"from":["GHSA-36rg-gfq2-3h56"],"provenance":"source"}],"summary":{"text":"A flaw in the originCheck middleware of the better-auth authentication library for TypeScript allows an open redirect on several routes, including /verify-email, /reset-password/:token, /delete-user/callback, /magic-link/verify, and /oauth-proxy-callback. An unauthenticated remote attacker can exploit it by getting a user to follow a crafted link, which requires user interaction but no authentication or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:17Z"},"euvd":{"id":"EUVD-2025-20283","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-56734","published":"2024-12-30","fixed":"1.1.6","kev":false},{"cve":"CVE-2025-27143","published":"2025-02-24","fixed":"1.1.20","kev":false,"link":{"from":"CVE-2025-27143","to":"CVE-2025-53535","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:better-auth","fromFixed":"1.1.20","toFixed":"1.2.10","daysApart":133}]}},{"cve":"CVE-2025-53535","published":"2025-07-07","fixed":"1.2.10","kev":false},{"cve":"CVE-2025-61928","published":"2025-10-09","fixed":"1.3.26","kev":false,"link":{"from":"CVE-2025-53535","to":"CVE-2025-61928","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:better-auth","fromFixed":"1.2.10","toFixed":"1.3.26","daysApart":94}]}},{"cve":"CVE-2025-71401","published":"2026-08-02","fixed":"1.4.2","kev":false},{"cve":"CVE-2026-45364","published":"2026-05-28","fixed":"1.5.0-beta.9","kev":false}],"package":"npm:better-auth"}}