What is an Open Redirect?
An Open Redirect occurs when a web application accepts untrusted user input (such as a URL) and redirects the user to an external website without proper validation.
Attackers can exploit this to trick users into visiting malicious sites, steal personal data, or distribute malware.


How Does it Work?

https://example.com/redirect?url=http://victim-site.com

https://example.com/redirect?url=http://malicious-site.com

Example Payload

https://example.com/redirect?url=http://attacker-site.com
The payload redirects users to attacker-site.com, where they could be tricked into entering their login credentials or downloading harmful files.
How to Prevent Open Redirects?




