Medium severity · published Aug 1, 2026
CVE-2025-71404
better-auth before 1.1.16 Reflected XSS via error parameter
5.1
CVSS
0.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BE
better-auth · better-auth
before 1.1.16 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-71404
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-71404
github.com
https://github.com/better-auth/better-auth/commit/05ada0b79dbcac93cc04ceb79b23ca598d07830c
github.com
https://github.com/better-auth/better-auth/security/advisories/GHSA-9x4v-xfq5-m8x5
www.vulncheck.com
https://www.vulncheck.com/advisories/better-auth-before-reflected-xss-via-error-parameter
More from better-auth
9.6
CVE-2026-53513
Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration
9.3
CVE-2025-61928
Better Auth: Unauthenticated API key creation through api-key plugin
9.1
CVE-2026-114607
better-auth: OAuth state can be used as a Magic Link to sign in as another user
9.1
CVE-2026-110862
Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link
9.1
CVE-2026-53512
Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins
