better-auth is vulnerable to User Interface (UI) Misrepresentation of Critical Information
81
CVE Score
High
User Interface (UI) Misrepresentation of Critical Information
The deviceAuthorization() plugin lets a user approve a sign-in on a second device by confirming a short code shown on the first. The approval page does not display, from server-checked data, which client is requesting access or what permissions it wants, so a user cannot tell their own request from one someone else created. Approving a code the user did not start hands the requester a live session token for the approving user's account. The fix adds the requesting client and its permissions to the server-checked approval data.
Upgrade the better-auth library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you enable the opt-in deviceAuthorization() plugin with an approval page that does not show the requesting client and permissions from server-checked data.
1.3.8 - 1.6.33
Fixed in 1.7.0better-auth is vulnerable to User Interface (UI) Misrepresentation of Critical Information in versions 1.3.8 - 1.6.33.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.