Skip to content
OpenAdvisories
Medium · 5.1 CVE-2025-71404 EUVD-2025-210583GHSA-9x4v-xfq5-m8x5GHSA-ch2q-47vm-cxgf

better-auth before 1.1.16 Reflected XSS via error parameter

Published Aug 1, 2026 · Updated Aug 3, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
better-auth better-auth < 1.1.16 1.1.16

Affected packages

EcosystemPackageAffectedFixedRecord
npm better-auth >= 0.0.2, < 1.1.16 1.1.16 GHSA-9x4v-xfq5-m8x5

References