@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
Your version
3.48.1 is the newest release of 3.x.
In short
1 fixed1 internal
Security
2 advisories affect 3.9.5; 3.47.5 fixes them
- CriticalOfficial Clerk JavaScript SDKs: Middleware-based route protection bypassGHSA-vqx2-fgx2-5wq9 · 16 Apr 2026Fixed in 3.47.4
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 3.47.5
Release note
Patch Changes
Bug fix: In
createCheckAuthorizationallow for oldorg_roleformat in JWT v1 whereorg:is missing.Example session claims:
{ "org_id": "org_xxxx", "org_permissions": [], "org_role": "admin", "org_slug": "test" }Code
authObject.has({ role: 'org:admin' }); // -> true authObject.has({ role: 'admin' }); // -> true
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.