@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 6.13.0 to 6.14.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Security
3 advisories still affect 6.14.0
- @clerk/backend Performs Insufficient Verification of Data Authenticityhigh · GHSA-9mp4-77wg-rwx9
- Official Clerk JavaScript SDKs: Middleware-based route protection bypasscritical · GHSA-vqx2-fgx2-5wq9
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
Upgrading to 6.39.3 clears them.
- 6.14.0
Automatic generation of CSP headers with default security policies compatible with Clerk requirements
- 6.14.0
Support for both standard and strict-dynamic CSP modes
- 6.14.0
Automatic nonce generation for strict-dynamic mode
- 6.14.0
Ability to add custom directives to match project requirements
Release by release
- Security
Automatic generation of CSP headers with default security policies compatible with Clerk requirements
- Security
Support for both standard and strict-dynamic CSP modes
- Security
Automatic nonce generation for strict-dynamic mode
- Security
Ability to add custom directives to match project requirements
- New
Update
useAuthto handle pending sessions as signed-out by default, with opt-out viauseAuth({ treatPendingAsSignedOut: false })or<ClerkProvider treatPendingAsSignedOut={false} /> - New
Introduce
auth().redirectToSignUp()that can be used in API routes and pages. Originally effort
- Security
4 internal lines (docs, tests, tooling) left out.
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.