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.
CVE-2025-71404
This medium-severity CVE scores 5.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5% (42nd percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.1
- EG Score
- 5.1MEDIUMmedium confidence
- EG Risk
- 38EG Risk 38/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity51% × 45%Exploitation1% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.5%
- EPSS %ILE
- 42nd
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 1, 2026
Last Modified
October 6, 2026
Advisory Details (3)
Auto-updated Aug 1, 2026better-auth before 1.1.16 Reflected XSS via error parameter | Advisories | VulnCheck
https://www.vulncheck.com/advisories/better-auth-before-reflected-xss-via-error-parametercommit 05ada0b79dbc (better-auth/better-auth)
Fix landed in better-auth/better-auth commit 05ada0b79dbc — awaiting tagged release
https://github.com/better-auth/better-auth/commit/05ada0b79dbcac93cc04ceb79b23ca598d07830cURL parameter HTML Injection (Reflected Cross-Site scripting) · Advisory · better-auth/better-auth · GitHub
https://github.com/better-auth/better-auth/security/advisories/GHSA-9x4v-xfq5-m8x5Vendor Advisories for CVE-2025-71404(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| better-auth | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 65× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 172 total refreshes for this CVE.
- 2026-10-10 19:59 UTCEPSS rescore
- 2026-10-09 20:06 UTCEPSS rescore
- 2026-10-08 17:11 UTCEPSS rescore
- 2026-10-07 23:47 UTCEPSS rescore
- 2026-10-06 22:12 UTCEG score recompute
- 2026-10-06 22:12 UTCGHSA enrichment
- 2026-10-06 15:17 UTCEPSS rescore
- 2026-10-05 19:52 UTCEG score recompute
- 2026-10-05 19:52 UTCGHSA enrichment
- 2026-10-05 17:42 UTCEPSS rescore
- 2026-10-04 23:21 UTCEPSS rescore
- 2026-10-04 06:26 UTCEG score recompute
- 2026-10-04 06:26 UTCGHSA enrichment
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-02 10:29 UTCEG score recompute
- 2026-10-02 10:29 UTCGHSA enrichment
- 2026-10-01 19:49 UTCEPSS rescore
- 2026-10-01 19:49 UTCEPSS rescore
- 2026-10-01 02:43 UTCEG score recompute
- 2026-10-01 02:43 UTCGHSA enrichment
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-29 15:20 UTCEPSS rescore
- 2026-09-29 14:16 UTCGHSA enrichment
- 2026-09-29 06:47 UTCEG score recompute
- 2026-09-29 06:47 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-09-28 13:50 UTCEPSS rescore
- 2026-09-27 18:22 UTCEG score recompute
- 2026-09-27 18:22 UTCGHSA enrichment
- 2026-09-26 15:58 UTCEPSS rescore
- 2026-09-24 14:02 UTCEPSS rescore
- 2026-09-24 09:50 UTCEG score recompute
- 2026-09-24 09:50 UTCGHSA enrichment
- 2026-09-23 13:47 UTCEPSS rescore
- 2026-09-23 08:29 UTCEG score recompute
- 2026-09-23 08:29 UTCGHSA enrichment
- 2026-09-22 07:08 UTCEG score recompute
- 2026-09-22 07:08 UTCGHSA enrichment
- 2026-09-20 20:59 UTCEG score recompute
- 2026-09-20 20:59 UTCGHSA enrichment
- 2026-09-20 20:15 UTCEPSS rescore
- 2026-09-19 13:43 UTCEG score recompute
- 2026-09-19 13:43 UTCGHSA enrichment
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-18 08:38 UTCEG score recompute
- 2026-09-18 08:38 UTCGHSA enrichment
- 2026-09-17 19:30 UTCEPSS rescore
- 2026-09-17 07:02 UTCEG score recompute
- 2026-09-17 07:02 UTCGHSA enrichment
- 2026-09-16 14:07 UTCEPSS rescore
- 2026-09-16 05:24 UTCEG score recompute
- 2026-09-16 05:24 UTCGHSA enrichment
- 2026-09-16 05:14 UTCEPSS rescore
- 2026-09-15 03:10 UTCEPSS rescore
- 2026-09-14 09:08 UTCEG score recompute
- 2026-09-14 09:08 UTCGHSA enrichment
- 2026-09-13 16:46 UTCEPSS rescore
- 2026-09-13 07:47 UTCEG score recompute
- 2026-09-13 07:47 UTCGHSA enrichment
- 2026-09-12 15:00 UTCEPSS rescore
- 2026-09-12 06:26 UTCEG score recompute
- 2026-09-12 06:26 UTCGHSA enrichment
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 09:36 UTCEPSS rescore
- 2026-09-11 04:49 UTCEG score recompute
- 2026-09-11 04:49 UTCGHSA enrichment
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-10 03:17 UTCEG score recompute
- 2026-09-10 03:17 UTCGHSA enrichment
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-08 21:04 UTCGHSA enrichment
- 2026-09-07 22:07 UTCEG score recompute
- 2026-09-07 22:07 UTCGHSA enrichment
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 20:46 UTCEG score recompute
- 2026-09-06 20:46 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 18:43 UTCEG score recompute
- 2026-09-05 18:43 UTCGHSA enrichment
- 2026-09-04 11:20 UTCEG score recompute
- 2026-09-04 11:20 UTCGHSA enrichment
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-03 09:22 UTCEG score recompute
- 2026-09-03 09:21 UTCGHSA enrichment
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-02 07:57 UTCEG score recompute
- 2026-09-02 07:57 UTCGHSA enrichment
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 00:55 UTCGHSA enrichment
- 2026-08-30 23:34 UTCEG score recompute
- 2026-08-30 23:34 UTCGHSA enrichment
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-29 22:13 UTCEG score recompute
- 2026-08-29 22:13 UTCGHSA enrichment
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-28 01:00 UTCEG score recompute
- 2026-08-28 01:00 UTCGHSA enrichment
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 23:40 UTCEG score recompute
- 2026-08-26 23:40 UTCGHSA enrichment
- 2026-08-26 14:45 UTCEPSS rescore
Related CVEs(same product + same CWE)
Same product
10 shownnpm:better-auth
Frequently asked(5)
What is CVE-2025-71404?
When was CVE-2025-71404 disclosed?
Is CVE-2025-71404 actively exploited?
What is the CVSS score of CVE-2025-71404?
How do I remediate CVE-2025-71404?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-71404
Is Your Infrastructure Affected by CVE-2025-71404?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.