p PatchFirst

CVE-2025-71403

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.1 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • better-auth

    Versions
    • ≥ 0, < 1.1.20: Affected (semver)
    • 1.1.20: Not affected (semver)

    Update to 1.1.20

  • better-auth npm

    Affected ranges
    • SEMVER: < 1.1.21

    Update to 1.1.21

Original sources

Check your server →