CVE-2025-71404

MEDIUM CVSS 4.0: 5.1 EPSS 0.72%
Updated Oct 07, 2026
Better-Auth
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 1.1.16
Fixed In 1.1.16
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Better-Auth
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Better-Auth Better-Auth\/Oauth-Provider
cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:*
— 1.1.16