Skip to content

Fix/issue 3889 noopener#3899

Open
pradeep0153 wants to merge 26 commits into
Premshaw23:masterfrom
pradeep0153:fix/issue-3889-noopener
Open

Fix/issue 3889 noopener#3899
pradeep0153 wants to merge 26 commits into
Premshaw23:masterfrom
pradeep0153:fix/issue-3889-noopener

Conversation

@pradeep0153

Copy link
Copy Markdown
Contributor

Closes #3889.

Description

This PR addresses a critical frontend vulnerability known as "reverse tabnabbing" by enforcing secure attributes on all outbound anchor links across the application.

Changes Made

  • Scanned the codebase for all anchor tags (<a>) that use the target="_blank" attribute to open links in a new tab.
  • Appended rel="noopener noreferrer" to every single one of these outbound links.

Impact

  • Security & Privacy Mitigation: Opening external links without noopener leaves the application vulnerable because the newly opened malicious page can gain access to the original page's window.opener object, potentially redirecting the user's original tab to a phishing site. Adding these attributes instructs the browser to sever this connection, protecting the user's session and improving overall platform security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security: Add rel="noopener noreferrer" to all external links

1 participant