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 67% 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
- 33%
- KEV
- Not listed
Published
August 1, 2026
Last Modified
August 3, 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 19× in last 7d / 58× 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.
- 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
Show 33 moreShow fewer
- 2026-08-12 04:29 UTCEG score recompute
- 2026-08-12 04:29 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 03:05 UTCEG score recompute
- 2026-08-11 03:05 UTCGHSA enrichment
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-10 01:44 UTCEG score recompute
- 2026-08-10 01:44 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 00:24 UTCEG score recompute
- 2026-08-09 00:24 UTCGHSA enrichment
- 2026-08-08 16:36 UTCEPSS rescore
- 2026-08-07 23:03 UTCEG score recompute
- 2026-08-07 23:03 UTCGHSA enrichment
- 2026-08-07 16:27 UTCEPSS rescore
- 2026-08-06 21:42 UTCEG score recompute
- 2026-08-06 21:42 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 20:22 UTCEG score recompute
- 2026-08-05 20:22 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 19:01 UTCEG score recompute
- 2026-08-04 19:01 UTCGHSA enrichment
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-03 17:40 UTCEG score recompute
- 2026-08-03 17:40 UTCGHSA enrichment
- 2026-08-03 16:01 UTCEG score recompute
- 2026-08-03 16:01 UTCGHSA enrichment
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 14:40 UTCGHSA enrichment
- 2026-08-01 13:19 UTCEG score recompute
- 2026-08-01 12:43 UTCEG score recompute
- 2026-08-01 12:42 UTCMITRE cvelistV5first tracked
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.