PT-2025-5821 · Unknown · Better Auth

Published

2025-02-05

·

Updated

2025-02-05

CVSS v3.1

9.3

Critical

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions: better-auth (affected versions not specified)
Description: The better-auth /api/auth/error page is vulnerable to HTML injection, resulting in a reflected cross-site scripting (XSS) issue. The error URL parameter's value is reflected as HTML on the error page. An attacker could exploit this by coercing a user to visit a specially-crafted URL, allowing the execution of arbitrary JavaScript in the context of the user's browser. The impact depends on the functionality of the application using better-auth.
Recommendations: At the moment, there is no information about a newer version that contains a fix for this vulnerability.

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-9X4V-XFQ5-M8X5

Affected Products

Better Auth