Skip to content
Open redirect Disclosed report Beginner

Missing rel=noreferrer tag allows link in list to change url of currently open tab

Links added to lists lacked a rel=noreferrer attribute, so a linked page could change the URL of the tab that opened it. An attacker could use this to make a trusted tab display a phishing page.

cablej Follow

Originally disclosed on HackerOne

  • Triaged in 6 days
  • Fixed in 6 days
  • Paid in 6 days
  • Disclosed after 34 days

Hi,

When adding links to lists, there is no rel=noreferrer tag present, allowing a linked page to change the url of the currently open tab. This can open the doors for phishing attacks, as users trust the tab that contained instacart.

As an example, see my list at https://inst.cr/t/1QmLPG. Clicking the link, which opens in a new tab, will change the url of the currently open tab to http://example.com.

Thank you for your time, and please let me know if you have any questions.

The original report as published on HackerOne, by cablej. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application rendered user-supplied links without adding rel=noreferrer, so the opened page retained a window.opener reference to the original tab.

Impact

A linked page could redirect the original tab to an attacker-controlled site, which could be used for phishing because users trust the tab that contained the service.

What the attacker needed

Ability to add a link to a list; victim clicks the link

The fix

Links should include rel=noreferrer so the linked page cannot change the original tab's URL.

How it was found

  1. Add a link to a list.
  2. Click the link, which opens in a new tab.
  3. The linked page changes the URL of the original tab.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you click a link that opens in a new tab, the new page can change the address of the tab it came from. Without a safety attribute called rel=noreferrer, this can be used for phishing because users trust the original tab.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by cablej

View all

25 more disclosed reports, best first.

More from Instacart

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.