TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Mitigating OAuth's recently discovered Open Response Type vulnerability

7 pointsby colinclerk9 months ago

1 comment

colinclerk9 months ago
Hey - cofounder of Clerk here<p>Glad we were able to mitigate this one for our customers, but have also been a bit surprised this vulnerability hasn&#x27;t been generating more chatter.<p>tl;dr: if you use Google OAuth, any XSS on your site can likely be chained into a long-lived account takeover. In a roundabout way, it works around the protections afforded by HttpOnly cookies.<p>You can mitigate by always redirecting to a URL with an empty fragment (#) if your oauth callback URL experiences any failure.