The Wire · Showcase
SUPABASE-JS BREAKS IN SANDBOXED BROWSERS — PATCH NOW
By RepoJournal · Filed · About Supabase
createClient crashed in restricted-storage environments (sandboxed iframes, in-app webviews, privacy modes) due to unsafe sessionStorage access in the realtime layer [ref:8].
The supabase-js client was throwing synchronously with SecurityError when initialized in browsers that restrict storage access—Facebook Messenger, Instagram, Google Performance Max webviews, and sandboxed iframes without same-origin flags all hit this wall [1]. This is live: v2.105.4 ships the fix [2], and v3.0.0-next.27 guards the same vulnerability in the next-generation client [5]. Both releases also patch separate auth and postgrest issues: v2.105.4 hardens JSON parse error handling in getItemAsync and restores abort detection in fetch catches [2]. Storage layer shipped v1.58.11 with a critical range-read fix for file backend uploads [3]—the parser now handles optional range headers correctly and eliminates an off-by-one error in part copy operations [4]. Postgres images across versions (15.14.1, 17.6.0, and 17.6.0-orioledb) are staged and ready .
Action items
- → Update supabase-js to v2.105.4 if you serve embedded webviews or restricted-storage environments supabase/supabase-js [immediate]
- → Upgrade storage to v1.58.11 if you're using file backend with multipart uploads supabase/storage [plan]
- → Test v3.0.0-next.27 in staging if you're on the next branch supabase/supabase-js [monitor]
References
- [1] fix(realtime): guard sessionStorage access in restricted-storage browsers ↗ supabase/supabase-js
- [2] v2.105.4 ↗ supabase/supabase-js
- [3] v1.58.11 ↗ supabase/storage
- [4] fix: range reads for file backend ↗ supabase/storage
- [5] v3.0.0-next.27 ↗ supabase/supabase-js
FAQ
- What changed in Supabase on May 9, 2026?
- createClient crashed in restricted-storage environments (sandboxed iframes, in-app webviews, privacy modes) due to unsafe sessionStorage access in the realtime layer .
- What should Supabase teams do about it?
- Update supabase-js to v2.105.4 if you serve embedded webviews or restricted-storage environments • Upgrade storage to v1.58.11 if you're using file backend with multipart uploads • Test v3.0.0-next.27 in staging if you're on the next branch
- Which Supabase repositories shipped on May 9, 2026?
- supabase/supabase-js, supabase/storage