Skip to content

Blog · November 23, 2026

Can a link on your site send users to a fake one?

Many apps send users back to a page after login with a link like `/login?next=/dashboard`.

Many apps send users back to a page after login with a link like /login?next=/dashboard. AI tools often build this fast and trust whatever comes after "next."

The risk: a scammer can change it to their own site. Your user sees your real web address, logs in, and lands on a fake page that asks for their password again. This is called an open redirect.

How to check:

  1. Log out and find your login link with a "next," "redirect," or "returnTo" part.
  2. Replace the page with https://example.com.
  3. Log in. Did your app send you there?

To fix it, ask your AI tool: "Only allow redirects to pages on my own site. Reject full web addresses and anything starting with //, and send users to the home page if the value is not allowed."

VibeVigil scans your live app for common security gaps. Try it free: https://vibevigil.com

A short note. Not a promise.

If you want to know about your own site, run the free scan.

Scan a site you own. It is free. No account.

You see the report first. Saving the site is optional.

No account. The report is the next page.

Free, no account. We fetch the public page, its scripts, and a few well-known paths.

Can a link on your site send users to a fake one? · VibeVigil