Open redirect
A flaw where a site redirects to any address given in a URL parameter, letting phishers use a trusted domain to send victims elsewhere.
An open redirect happens when a link such as example.com/login?next=… sends the browser wherever the parameter says, without checking. The attacker sends a link that starts with your real domain, gets past a quick glance and some filters, and lands the victim on a fake sign-in page. MITRE catalogs it as CWE-601, and the OWASP Top 10 2025 maps it under broken access control.
Alone it is usually rated low, but it chains: in OAuth flows a redirect on the client’s domain can leak an authorization code or token to the attacker’s server. OWASP’s cheat sheet recommends avoiding user-supplied destinations, or mapping short keys to an allowlist of destinations on the server. It is a common finding in reports sent through a vulnerability disclosure program.
Sources
- MITRE: CWE-601 URL Redirection to Untrusted Site (Open Redirect) cwe.mitre.org
- OWASP: Unvalidated Redirects and Forwards Cheat Sheet cheatsheetseries.owasp.org
Related terms
- Broken access control: A flaw that lets users read, change or delete data, or run actions, beyond their permissions; first in the OWASP Top 10 since 2021.
- OAuth: A standard that lets an app act on a user’s account elsewhere (mail, calendar, files) without ever seeing the password.
- XSS (cross-site scripting): Attacker-controlled script running in your page in another user’s browser, with that user’s session.
- Vulnerability disclosure program (VDP): A public policy that tells security researchers how to report a flaw, what is in scope and that they will not be sued for reporting in good faith.
- OWASP Top 10: The OWASP Foundation’s list of the ten most critical web application security risks, updated every few years.
