socialiteproviders/apple is vulnerable to Cross-Site Request Forgery (CSRF)
68
Medium Risk
The Apple OAuth provider derives the expected OAuth state from the nonce embedded in the caller-supplied identity token and compares that value against itself, and it accepts stateless callbacks with no CSRF check at all. A callback captured from the attacker's own Sign in with Apple login is accepted when replayed in the victim's browser, and the identity token's nonce and aud claim go unverified. This silently logs the victim into, or links their account to, the attacker's Apple identity without any credentials. The fix generates a random nonce on redirect, verifies it against the identity token, and rejects callbacks with missing or invalid state.
You are affected if you are using a version that falls within the vulnerable range.
socialiteproviders/apple is vulnerable to Cross-Site Request Forgery (CSRF) in versions 0.0.1 - 5.12.0.
Upgrade the socialiteproviders/apple library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.