CyberRota Analysis
AI-GeneratedVersions of better-auth prior to 1.1.16 are vulnerable to a reflected cross-site scripting (XSS) flaw on the /api/auth/error page, where the 'error' URL parameter is improperly sanitized. This vulnerability allows attackers to execute arbitrary JavaScript in the context of a user's browser by tricking them into visiting a malicious URL. Organizations using affected versions should prioritize upgrading to version 1.1.16 to mitigate potential exploitation risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.