PT-2025-62898

CVE-2025-71404

·

Published

2025-02-05

·

Updated

2026-09-29

Description by

CVSS 4.0
5.1
Medium
MetricsAV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions better-auth versions 0.0.3 through 1.1.15
Description A reflected cross-site scripting (XSS) issue exists on the '/api/auth/error' endpoint. The application reflects the value of the error URL parameter as HTML without proper neutralization, allowing an attacker to execute arbitrary JavaScript in the user's browser by inducing them to visit a specially-crafted URL.
Recommendations Update to version 1.1.16. As a temporary workaround, restrict access to the '/api/auth/error' endpoint or avoid using the error parameter until the update is applied.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-9X4V-XFQ5-M8X5
Found an issue in the description? Have something to add? Feel free to write us 👾