A redirect target is taken from user input, letting an attacker send victims to a malicious site.
Upgrade and validate the redirect target against an allow-list.
Only redirect to relative paths or an allow-list of hosts; never to a raw user-supplied URL.
Stateward flags Open Redirect in your own code and dependencies on every pull request.
Scan my repoSources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.