Puru Vijay 6/9/2020

Safeguarding target=_blank links

Read Original

This article details a common web security vulnerability: using target="_blank" on links without the rel="noopener" attribute. It explains how the new page can access the originating page's window.opener property, allowing for potential phishing attacks (tab-napping) and performance degradation. The solution is to simply add rel="noopener" to all external links using target="_blank".

Safeguarding target=_blank links

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes