What’s Vulnerable › Vulnerabilities

CVE-2025-71403: better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass

Description

better-auth versions before 1.1.20 contain a bypass vulnerability in trustedOrigins validation logic affecting absolute URLs and wildcard domains. Attackers can construct malicious callbackURL parameters that pass origin checks and trigger open redirects to steal sensitive tokens for account takeover.

Affected products

How to fix

Upgrade to a fixed version: better-auth 1.1.20. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71403 or the next vulnerability affects your stack