TabNabbing issue (due to taget=_blank)
An anchor tag on a page opened third-party links in a new tab using target=_blank without a rel attribute. A malicious linked site could use this to change the contents of the original LegalRobot tab, a technique known as tabnabbing.
Originally disclosed on HackerOne
- Triaged in 13 hours
- Fixed in 13 hours
- Paid in 13 hours
- Disclosed after 18 hours
Hi team,
i get to know in this particular url https://app.legalrobot-uat.com/dmca-safe-harbor and i found one 3rd party url.
Issue lies Here :
<a href="https://eff.org" target="_blank">Electronic Frontier Foundation</a>
Here i can see you are using target=_blank and no more rel tag. Here , target=_blank means it will open in another new tab. but due to tabnabbing it can change parent tab as well (Legalrobot). so as per security principal , don't trust much on 3rd party. and be at your safe sight,
i can recommend you to add rel="noreferer, ,noopener" to avoid this issue.
So final tag for that particular anchor tag will be: `` <a href="https://eff.org" target="_blank" rel="norefere,noopener">Electronic Frontier Foundation</a>
more safe !!
Please let me know for more information.
Thanks,
Vishal
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
The anchor used target=_blank without a rel attribute, allowing tabnabbing to change the original tab.
Impact
A malicious third-party page could change the original LegalRobot tab; the report shows only a theoretical risk.
What the attacker needed
Victim clicks the third-party link; linked site is attacker-controlled
The fix
The anchor should add rel="noopener" (and optionally noreferrer) so the opened page cannot access 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 a link opens in a new tab, the new page can sometimes reach back and change the page that opened it. If that new page is controlled by an attacker, they could swap the original tab to show a fake login page. Adding a rel attribute such as noopener stops the new page from getting that control.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.