@payloadcms/next is vulnerable to Open Redirect
55
CVE Score
Medium
Open Redirect
Affected versions of this package are vulnerable to Open Redirect due to insufficient validation of redirect paths in the login flow. An attacker can exploit this to redirect users to malicious websites. This issue is addressed by introducing the getSafeRedirect utility, which ensures redirect paths start with a single /, blocks protocol-relative URLs (e.g., //evil.com), prevents JavaScript scheme execution (e.g., /javascript:alert(1)), and blocks full URL redirects such as /http: or /https:.
Upgrade the @payloadcms/next library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.0.0 - 3.30.0
Fixed in 3.31.0@payloadcms/next is vulnerable to Open Redirect in versions 3.0.0 - 3.30.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.