@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
5.128.3 is the newest release of 5.x.
In short
2 new3 internal
Security
1 advisory affects 5.11.0; 5.89.0 fixes them
- ModerateClerk-js vulnerable to bypass of OAuth authentication flow by manipulating request at OTP verification stageGHSA-3mm3-wfpv-q85g · 20 Nov 2025Fixed in 5.89.0
Release note
Minor Changes
Introduce support for custom menu items in
<UserButton/>.Use
<UserButton.MenuItems>as a child component to wrap custom menu items.Use
<UserButton.Link/>for creating external or internal links.Use
<UserButton.Action/>for opening a specific custom page of "UserProfile" or to trigger your own custom logic viaonClick.If needed, reorder existing items like
manageAccountandsignOut
New usage example:
<UserButton> <UserButton.MenuItems> <UserButton.Link label="Terms" labelIcon={<Icon />} href="/terms" /> <UserButton.Action label="Help" labelIcon={<Icon />} open="help" /> // Navigate to `/help` page when UserProfile opens as a modal. (Requires a custom page to have been set in `/help`) <UserButton.Action label="manageAccount" labelIcon={<Icon />} /> <UserButton.Action label="Chat Modal" labelIcon={<Icon />} onClick={() => setModal(true)} /> </UserButton.MenuItems> </UserButton>
Patch Changes
Introduce ability to set an active organization by slug
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.