Highlights
Auth Bypass: 75 prior fixes. Scrutinize any change in this area.
packages/clerk-js/src/core/clerk.ts: most-fixed (8 issues). Treat as high-risk during review.
60 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: A critical flaw in Next.js router integration and middleware permitted unauthorized users to bypass key authentication checks and escalate privileges. This is documented under CVE-2024-22206 and addressed in changes like ecb60da48029b9cb2d17ab9b0a73cb92bc5c924b.
Auth Bypass: A critical logic inversion during the removal of the svix dependency caused the webhook verification mechanism to accept invalid signatures and reject valid ones, creating a complete validation bypass.
Open Redirect: Insecure handling of redirect URLs allowed attackers to inject javascript: or other dangerous protocol schemes, leading to cross-site scripting (XSS) or arbitrary destination redirects.