@clerk/express
2.1.90 · 14 Nov 2026MIT591.3k / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/express From 2.1.24 to 2.1.25
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Release by release
- Fixed
Fix an authentication bypass where a
req.authvalue set by another library (such asexpress-jwt, Passport, orexpress-openid-connect) causedclerkMiddleware()andrequireAuth()to silently skip Clerk authentication, andgetAuth()to return the unverified foreign value. Clerk now brands thereq.authhandler it installs and only trusts that handler:clerkMiddleware()authenticates the request and overwrites a foreignreq.auth(logging a warning when it does), andgetAuth()throws its "middleware required" error instead of reading foreign data.
- Fixed
2 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.