Open Redirect Vulnerability in Better Auth Authentication Library for TypeScript
CVE-2025-27143
What is CVE-2025-27143?
The Better Auth library for TypeScript allows open redirect vulnerabilities due to improper validation of the callbackURL parameter in email verification and other endpoints. The flaw allows scheme-less URLs, tricking browsers into treating them as fully qualified URLs, opening the door for attackers to create malicious verification links. When a user clicks such a link, they are redirected to the attacker’s site post verification, potentially compromising sensitive data and leading to phishing attacks. An updated patch to address this issue is included in version 1.1.21.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
better-auth < 1.1.20
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
