CVE-2025-71404
better-auth before 1.1.16 Reflected XSS via error parameter
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Vendor | better-auth |
| Product | better-auth |
| Published | Aug 1, 2026 |
Stay Ahead of the Next One
Get instant alerts for better-auth better-auth
Be the first to know when new unknown vulnerabilities affecting better-auth better-auth are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
better-auth / better-auth
0 < 1.1.16
References
github.com: https://github.com/better-auth/better-auth/security/advisories/GHSA-9x4v-xfq5-m8x5 github.com: https://github.com/better-auth/better-auth/commit/05ada0b79dbcac93cc04ceb79b23ca598d07830c vulncheck.com: https://www.vulncheck.com/advisories/better-auth-before-reflected-xss-via-error-parameter
Credits
๐ Eriner