Intel

AIKIDO-2026-511207

socialiteproviders/apple is vulnerable to Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF)GHSA-6x48-9pqh-7hrf Published Yesterday

68

Medium Risk

This Affects:

PHPsocialiteproviders/apple
0.0.1 - 5.12.0
Fixed in 6.0.0
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

socialiteproviders/apple is vulnerable to Cross-Site Request Forgery (CSRF) in versions 0.0.1 - 5.12.0.

How to fix this

Upgrade the socialiteproviders/apple library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform