{"cve":"CVE-2025-71404","nvd":{"published":"2026-08-01T13:16:56.777","modified":"2026-10-06T22:10:00.247","status":"Deferred","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.","cvss_v4":{"vector":"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","score":5.1},"cvss_v3":null,"cwes":["CWE-79"],"references":["https://github.com/better-auth/better-auth/commit/05ada0b79dbcac93cc04ceb79b23ca598d07830c","https://github.com/better-auth/better-auth/security/advisories/GHSA-9x4v-xfq5-m8x5","https://www.vulncheck.com/advisories/better-auth-before-reflected-xss-via-error-parameter"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:47:10.050265369+00:00"},"epss":{"cve":"CVE-2025-71404","score":0.00521,"percentile":0.43934,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-9x4v-xfq5-m8x5","url":"https://osv.dev/vulnerability/GHSA-9x4v-xfq5-m8x5","summary":"Better Auth URL parameter HTML Injection (Reflected Cross-Site scripting)","modified":"2026-08-02T03:56:48.551422037Z","packages":[{"ecosystem":"npm","name":"better-auth","purl":"pkg:npm/better-auth","ranges":[">=0.0.2 <1.1.16"],"fixed":["1.1.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}