@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
Your version
4.31.8 is the newest release of 4.x.
npm marks 4.21.2 as deprecated: A critical security vulnerability that affects versions in the range of >= 4.7.0,< 4.29.3 has been discovered by the Clerk team. Please upgrade immediately to 4.29.3. For more information, refer to clerk.com/changelog/2024-01-12
In short
1 new1 fixed2 internal
Security
1 advisory affects 4.21.2; 4.29.3 fixes them
- Critical@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR) GHSA-q6w5-jg5q-47vg · 12 Jan 2024Fixed in 4.29.3
Release note
Patch Changes
Detect infinite redirect loops when using
authMiddlewareand inform the user about possible resolution steps.Allow
clerkJSVersionto be passed when loading interstitial. Support forNextjs
Remix
Node
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.