better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.6.11 to 1.6.12
1 release in betweenevery note read
Security
5 advisories still affect 1.6.12
- Better Auth has stored XSS in the auth-server origin via javascript: redirect_uri in oidc-provider and mcphigh · GHSA-86j7-9j95-vpqj
- better-auth: OAuth state can be used as a Magic Link to sign in as another usercritical · GHSA-965c-763c-88jm
- better-auth: Device login approval does not show the requesting client or permissionshigh · GHSA-q84f-53jg-9ppm
Upgrading to 1.7.7 clears them.
Release by release
- New
Added
accessTokenExpiresInconfig option togenericOAuthfor providers that omitexpires_inin their token response. - Fixed
Fixed field index ordering in
getMigrationmigrations. - Fixed
Fixed synthetic user construction to exclude extra fields.
- Fixed
Fixed session cookie refresh headers not being forwarded when resolving sessions.
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.