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.4%, top 66% of all CVEs by exploit prediction. 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
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.1
- EG Score
- 5.1(medium)
- EG Risk
- 38(Track)EG Risk 38/100SSVC: Track
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%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 34%
- KEV
- Not listed
Published
August 1, 2026
Last Modified
September 8, 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 | Fixed in | Dependents |
|---|---|---|---|
| better-auth | — | 1.1.16 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 17× in last 7d / 75× 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 130 total refreshes for this CVE.
- 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
Show 75 moreShow fewer
- 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
- 2026-08-25 22:18 UTCEG score recompute
- 2026-08-25 22:18 UTCGHSA enrichment
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-24 20:58 UTCEG score recompute
- 2026-08-24 20:58 UTCGHSA enrichment
- 2026-08-24 14:16 UTCEPSS rescore
- 2026-08-23 19:37 UTCEG score recompute
- 2026-08-23 19:37 UTCGHSA enrichment
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-22 18:17 UTCEG score recompute
- 2026-08-22 18:17 UTCGHSA enrichment
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-21 16:56 UTCEG score recompute
- 2026-08-21 16:56 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 15:34 UTCEG score recompute
- 2026-08-20 15:34 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 14:12 UTCEG score recompute
- 2026-08-19 14:12 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 12:51 UTCEG score recompute
- 2026-08-18 12:51 UTCGHSA enrichment
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-17 11:14 UTCEG score recompute
- 2026-08-17 11:14 UTCGHSA enrichment
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 09:52 UTCEG score recompute
- 2026-08-16 09:52 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 08:32 UTCEG score recompute
- 2026-08-15 08:32 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 07:11 UTCEG score recompute
- 2026-08-14 07:11 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 05:51 UTCEG score recompute
- 2026-08-13 05:51 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 04:29 UTCEG score recompute
- 2026-08-12 04:29 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
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.