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