Vulnerability

CVE-2025-71404

mediumCVSS 4.0 5.1Published 1 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /better-auth/better-auth/commit/05ada0b79dbcac93cc04ceb79b2…
  • github.com /better-auth/better-auth/security/advisories/GHSA-9x4v-xfq5…
  • www.vulncheck.com /advisories/better-auth-before-reflected-xss-via-error-para…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning