CVE-2025-71404
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.
Published:Aug 1, 2026
Last Modified:Aug 3, 2026
EPS:Aug 1, 2026
EPSS Score:0.00399
CVSS Score:5.1
Affected Products
Vendor
Product
Action
Vendor
Better-auth
Product
Better-auth\/oauth-provider
Better-auth
Better-auth\/oauth-provider
Vendor
Better-auth
Product
Better Auth
Better-auth
Better Auth
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
