CVE-2025-71404

published 1 Aug 2026 · updated 3 Aug 2026

better-auth before 1.1.16 Reflected XSS via error parameter

5.1MediumCVSS 5.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.1.16.

better-auth versions after v0.0.2 and before 1.1.16 contain a reflected cross-site scripting (XSS) vulnerability on the /api/auth/error page, where the value of the 'error' URL parameter is reflected as HTML without proper neutralization. An attacker who coerces a user into visiting a specially-crafted URL can execute arbitrary JavaScript in the context of the user's browser. The issue is fixed in version 1.1.16.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
better-auth<1.1.161.1.16

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-71404 severity on Zeptric[![CVE-2025-71404](https://zeptric.io/badge/cve/CVE-2025-71404.svg)](https://zeptric.io/cve/CVE-2025-71404)