5.1Media

CVE-2025-71404better-auth before 1.1.16 Reflected XSS via error parameter

better-auth better-auth Publicada: (hace 3 meses)

Descripción

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.

Debilidad (CWE): CWE-79

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
better-auth better-auth < 1.1.16, fixed 1.1.16
better-auth better-auth/oauth-provider < 1.1.16

Referencias y parches