Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. better-auth
  4. ›
  5. CVE-2025-53535

CVE-2025-53535: Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routes

July 7, 2025 (updated November 10, 2025)

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

  • github.com/advisories/GHSA-36rg-gfq2-3h56
  • github.com/better-auth/better-auth
  • github.com/better-auth/better-auth/commit/9801d1be53d9da04686b94c6286c53ec97496740
  • github.com/better-auth/better-auth/security/advisories/GHSA-36rg-gfq2-3h56
  • nvd.nist.gov/vuln/detail/CVE-2025-53535

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 →

Affected versions

All versions before 1.2.10

Fixed versions

  • 1.2.10

Solution

Upgrade to version 1.2.10 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/better-auth/CVE-2025-53535.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 20 Nov 2025 12:20:02 +0000.