MEDIUM6.1
GHSA-w84c-53h3-mc2g
Payload: Untrusted redirect URL parameter exploit
Quick fix
GHSA-w84c-53h3-mc2g — payload: upgrade to the fixed version with the command below.
npm install payload@3.88.0Details
### Impact Under certain conditions, an attacker can craft a redirect link that sends a guest user to an untrusted destination after authenticating.
### Patches Users should upgrade Payload packages to `>= 3.88.0` or `>= 4.0.0-canary.27`.
### Workarounds Upgrading is recommended. Until then, remove user-controlled redirect values from authentication flows or restrict them to known local paths.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/payload
Introduced in:
4.0.0-canary.0Fixed in: 4.0.0-canary.27Fix
npm install payload@4.0.0-canary.27npm/@payloadcms/next
Introduced in:
4.0.0-canary.0Fixed in: 4.0.0-canary.27Fix
npm install @payloadcms/next@4.0.0-canary.27References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/payload"]}'