CVE-2025-71404
published medium CVSS 4.0 · 5.1better-auth before 1.1.16 Reflected XSS via error parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | better-auth0 to < 1.1.16 (affected · semver) · 1.1.16 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | 0 to < 1.1.16 (affected · semver)1.1.16 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- Patch Commit https://github.com/better-auth/better-auth/commit/05ada0b79dbcac93cc04ceb79b23ca598d07830c
- GitHub Security Advisory (GHSA-9x4v-xfq5-m8x5) https://github.com/better-auth/better-auth/security/advisories/GHSA-9x4v-xfq5-m8x5
- VulnCheck Advisory: better-auth before 1.1.16 Reflected XSS via error parameter https://www.vulncheck.com/advisories/better-auth-before-reflected-xss-via-error-parameter
Provider assertions
2VulnCheck · cna
better-auth before 1.1.16 Reflected XSS via error parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c46dde4eb7235c7b0776e1df651ef2a53c062e1a06968731d901bf23650b8236
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record