seo site checkup logo
PricingFree ToolsArticles

Unsafe Cross-Origin Links Test

What is it?

This test will check if all links to external pages that have the target="_blank" attribute also have the rel="noopener" or rel="noreferrer" attribute.
When you link to an external site using the target="_blank" attribute, security and performance issues arise:
The external pages you link to may run on the same process as your page. If the other page is running a lot of JavaScript, your page's performance may suffer.
The other page can access your window object with the window.opener property. This may allow the other page to redirect your page to a malicious URL.
Adding rel="noopener" or rel="noreferrer" to your target="_blank" links avoids these issues.

Pass rate:

  • Top 100 websites: 49%
  • All websites: 44%
Pass rates of Top 100 US websites
2021

59%

2022

48%

2023

49%

100

75

50

25

0

How do I fix it ?

In order to pass this test, you have to update each link identified in this report, by adding a rel="noopener" or a rel="noreferrer" attribute or both:

<a href="https://example.com" target="_blank" rel="noopener noreferrer">
	Click here
</a>
  • rel="noopener" prevents the new page from being able to access the window.opener property and ensures it runs in a separate process.
  • rel="noreferrer" has the same effect but also prevents the Referer header from being sent to the new page.
Check your website's SEO for free right now!

seo site checkup logo
Website SEO, Monitoring & Automation Made Easy.
Product
  • Pricing
  • Free Tools
  • Articles
  • Login
  • Free 7-Day Trial
© SEO Site Checkup 2020-2024 • All rights reserved