@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
Your version
5.7.6 is the newest release of 5.x.
In short
2 fixed3 internal
Security
1 advisory affects 5.0.7; 5.7.6 fixes them
- CriticalOfficial Clerk JavaScript SDKs: Middleware-based route protection bypassGHSA-vqx2-fgx2-5wq9 · 16 Apr 2026Fixed in 5.7.6
Release note
Patch Changes
Fix a bug where response headers from
@clerk/backendwould not be applied to the response when a redirect was triggered from a custom middleware handler.Pass
devBrowserTokentocreateRedirect()to ensure methods fromauth()that trigger redirects correctly pass the dev browser token for URL-based session syncing.
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.