GitHub Advisory Database
GHSA-hp5w-3hxx-vmwf
Payload: Pre-Authentication Account Takeover via Parameter Injection in Password Recovery
Details
Impact
A vulnerability in the password recovery flow could allow an unauthenticated attacker to perform actions on behalf of a user who initiates a password reset.
Users are affected if:
- They are using Payload version < v3.79.1 with any auth-enabled collection using the built-in
forgot-passwordfunctionality.
Patches
Input validation and URL construction in the password recovery flow have been hardened.
Users should upgrade to v3.79.1 or later.
Workarounds
There are no complete workarounds. Upgrading to v3.79.1 is recommended.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | payload | All versions before 3.79.1 (fixed in 3.79.1) |
| npm | @payloadcms/graphql | All versions before 3.79.1 (fixed in 3.79.1) |