Packages

@clerk/nextjs

7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed

Your version

4.25.0

29 Sep 2023Where it was published

4.31.8 is the newest release of 4.x.

npm marks 4.25.0 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

5 deprecated1 new4 internal

  • Deprecated

    CLERK_JS_VERSION environment variable

  • Deprecated

    CLERK_API_KEY environment variable

  • Deprecated

    NEXT_PUBLIC_CLERK_FRONTEND_API environment variable

  • Deprecated

    withClerkMiddleware

  • Deprecated

    withServerSideAuth

Security

1 advisory affects 4.25.0; 4.29.3 fixes them

Release note

Minor Changes

Patch Changes

  • Apply deprecation warnings for @clerk/nextjs:

    • CLERK_JS_VERSION environment variable

    • CLERK_API_KEY environment variable

    • NEXT_PUBLIC_CLERK_FRONTEND_API environment variable

    • withClerkMiddleware

    • withServerSideAuth

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.