# CVE-2025-53535: Better Auth has an Open Redirect Vulnerability in originCheck Middleware Affecting Multiple Routes

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2025-07-07T17:15:52.027Z
- Modified: 2026-06-17T09:38:24.233Z
- Also known as: GHSA-36rg-gfq2-3h56
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- better-auth better-auth: < 1.2.10
- better-auth (npm): before 1.2.10

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:4.0 Low `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`

## 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)

## Sources

- CVE List: [CVE-2025-53535](https://www.cve.org/CVERecord?id=CVE-2025-53535), CVE Terms of Use, modified 2025-07-07
- GitHub Advisory Database: [GHSA-36rg-gfq2-3h56](https://github.com/advisories/GHSA-36rg-gfq2-3h56), CC-BY-4.0, modified 2025-07-07
- NVD: [CVE-2025-53535](https://nvd.nist.gov/vuln/detail/CVE-2025-53535), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53535 · Whole record: https://cve.day/CVE-2025-53535.json · Rebuilt by cve.day 2026-11-25T22:59:00.754Z
