Building outbound links? You may have a link phishing security issue
What is an outbound link?
An outbound link (also called an external link) is a hyperlink on your web page, email or landing page that sends visitors to a different website. Outbound links connect your content to sources, references and resources, and they're a normal part of content marketing.
But the way you open those links matters. If you use target="_blank" to open outbound links in a new tab, and the page you link to is ever compromised or malicious, it could be used to attack your visitors through a technique called reverse tabnabbing.
What is reverse tabnabbing?
When a link opens in a new tab with target="_blank" and no protective attributes, the new page can get a reference to the original tab through the JavaScript window.opener property. A malicious page can use that reference to quietly send your tab to a different address, such as a fake login screen, while the visitor is reading the new tab.
How an attack works
- A visitor is reading your blog or logged into your web app.
- They click an outbound link that opens a third-party page in a new tab. That page has been compromised, or was malicious from the start.
- Script on that page uses
window.openerto redirect your original tab to a look-alike phishing page, such as a "Your session expired, please log in again" screen. - The visitor returns to what they think is your site, enters their password, and hands it to the attacker.
Because the visitor trusts your site, they're far less likely to notice the switch. That's why this is your problem to fix, even though the attack comes from someone else's page.
Good news: modern browsers helpCurrent versions of Chrome and Edge (88 and later), Firefox (79 and later) and Safari now treat target="_blank" links as if they had rel="noopener", which blocks this attack by default. Adding the attribute yourself is still recommended for older browsers, in-app webviews and other environments that may not apply the protection.
How to fix it
For every outbound link that uses target="_blank", add rel="noopener", or rel="noopener noreferrer":
| Attribute | What it does | When to use it |
|---|---|---|
noopener | Stops the new tab from accessing window.opener, which blocks reverse tabnabbing | Every outbound link that opens in a new tab |
noreferrer | Also blocks window.opener, and hides which page sent the visitor | When you don't want destination sites to see your URL, or for maximum compatibility with older browsers |
nofollow or sponsored | Tells search engines not to pass ranking credit | Paid, sponsored or untrusted links (not a security setting) |
One trade-off: noreferrer hides your site as the traffic source, so sites you link to (including partners) will see your visitors as "direct" traffic in their analytics. If referral credit matters, use noopener on its own.
Where to check your links
Most modern content management systems handle this automatically. WordPress, for example, adds rel="noopener" to links set to open in a new tab:

Link security in email and SMS marketing
Reverse tabnabbing affects links on web pages. In email and text marketing, the bigger link risk is different: phishing and smishing scams that imitate real brands. Text scams alone cost consumers $470 million in 2024, according to the FTC, and many rely on links that hide their true destination.
That makes customers rightly cautious about unfamiliar links, which affects whether they trust, and click, yours. To protect both your customers and your click-through rate:
- Use a branded short domain. A custom short domain on your own brand looks more trustworthy than a generic public shortener, and carriers often filter public shorteners in business texts.
- Identify your business in every text and email so customers know who's sending.
- Link only to your own domains or well-known, trusted sites.
- Authenticate your email with SPF, DKIM and DMARC so scammers have a harder time spoofing your domain.
- Tell customers what you'll never ask for, such as passwords or payment details by text.
- Monitor clicks for unusual patterns, such as clicks within seconds of delivery or from unexpected locations.
DailyStory's URL shortener supports branded custom domains and click tracking for your SMS and email campaigns.
Frequently asked questions
What is reverse tabnabbing?
Reverse tabnabbing is a phishing technique where a page opened with target="_blank" uses the window.opener JavaScript property to redirect the original tab to a malicious page, typically a fake login screen. The user returns to the original tab, sees a familiar-looking site asking them to sign in again, and enters their credentials into the attacker's page.
Is target="_blank" still dangerous in 2026?
The risk is much lower because modern browsers apply rel="noopener" to new-tab links automatically. Explicitly adding the attribute is still recommended for older browsers, embedded webviews and defense in depth.
What's the difference between rel="noopener" and rel="noreferrer"?
noopener prevents the new tab from accessing window.opener, which blocks reverse tabnabbing. noreferrer does the same and also hides the referring page, so the destination can't see where the visitor came from. Use noopener if you want sites you link to to see your traffic, or both for maximum privacy.
Will adding rel="noopener noreferrer" hurt my SEO?
No. These are security and privacy attributes, not ranking signals, and they don't change how search engines crawl links. noreferrer can affect the destination site's referral analytics. If you want search engines not to pass credit through a link, use nofollow or sponsored instead.
Does WordPress add rel="noopener" automatically?
Yes. WordPress adds rel="noopener" to links you set to open in a new tab, and most modern CMS and email platforms do the same. The vulnerability is most likely to remain in legacy content and custom-coded templates.
Does this affect links in my text messages?
Not directly. Reverse tabnabbing requires a link opened from an existing web page. For texts, focus on branded short links, clear sender identification and educating customers about scams.