CVE-2025-53535
LOW 2.1CVSS 4.0Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routes
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.
- Published
- 7 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-601
- Also known as
- GHSA-36rg-gfq2-3h56
- Sources
- NVDJSONOSV GHSA-36rg-gfq2-3h56JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.1 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | better-auth | < 1.2.10 | 1.2.10 |
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-36rg-gfq2-3h56 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53535 · ADVISORY
- https://github.com/better-auth/better-auth/commit/9801d1be53d9da04686b94c6286c53ec97496740 · WEB
- https://github.com/better-auth/better-auth · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 Jul 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Jul 2025)