Redirecting to user-controlled URLs without validation allows open redirect attacks.
Validate redirect URLs against an allowlist of trusted destinations.