@supabase/ssr is vulnerable to Insufficient Session Expiration
50
CVE Score
Medium
Insufficient Session Expiration
createStorageFromOptions in src/cookies.ts writes a domain scoped cookie deletion before the host only deletion when cookieOptions.domain is set. When signOut() passes both entries through a name keyed store such as Next.js ResponseCookies, the later host only deletion replaces the domain scoped one, so the browser keeps the session cookie. The fix writes the host only deletion first so the domain scoped deletion remains.
Upgrade the @supabase/ssr package to version 0.12.3 or later.
You are affected if you use a version in the vulnerable range, configure cookieOptions.domain, and pass cookie deletions through a name-keyed store such as Next.js ResponseCookies when signing out.
0.12.0 - 0.12.2
Fixed in 0.12.3@supabase/ssr is vulnerable to Insufficient Session Expiration in versions 0.12.0 - 0.12.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.