XSS + Open Redirect
Discovery
const handleRedirect = async () => {
if (!redirectUrl ||
(!redirectUrl.includes("https://") && !redirectUrl.includes("http://localhost:"))) {
throw new Error("Not valid URL!");
}
// Visit redirectUrl after thisOpen Redirect Exploitation
https://vulnerable.com?redirectUrl=https://evil.comXSS Exploitation

Last updated