You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9365b94
Browse filesBrowse the repository at this point in the historyBrowse files
get_auth_url emitted no state and the callback validated none (RFC 6749 10.12), so any page that could reach the local callback server could hand it an authorization code of the attacker's choosing.
A random state is now minted per authorization request, carried in the auth URL and required on the callback: missing, mismatched or replayed state means the code is rejected and never stored. The server also binds 127.0.0.1 explicitly and shuts down once it has handled a valid callback rather than idling out the 180s window.
The report's fourth item (random high port) is not actionable: Meta validates redirect URIs against the list registered on the app, so the flow only works on pre-registered ports.
Bumps to 1.0.124 and documents the advisory in SECURITY.md.
0 commit comments