Skip to content

fix(security): add rel="noopener noreferrer" to target="_blank" links in GroupDiscussionThread - #1645

Open
Ranjeet2063 wants to merge 1 commit into
rinafcode:mainfrom
Ranjeet2063:fix-noopener-discussion-thread
Open

Ranjeet2063 wants to merge 1 commit into
rinafcode:mainfrom
Ranjeet2063:fix-noopener-discussion-thread

Conversation

@Ranjeet2063

Copy link
Copy Markdown

Summary

This PR adds rel="noopener noreferrer" to external attachment links opening with target="_blank" in src/app/components/social/GroupDiscussionThread.tsx.

Problem

Links opening in a new tab without noopener expose window.opener to the target page, creating security vulnerabilities including reverse-tabnabbing and referrer leakage.

Solution

  • Added rel="noopener noreferrer" to attachment links in GroupDiscussionThread.tsx.
  • Preserved existing layout, styling, and behavior.

Closes #1340

Copilot AI balanced review requested due to automatic review settings October 2, 2026 19:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Add rel="noopener noreferrer" to target="_blank" links in src/app/components/social/GroupDiscussionThread.tsx

2 participants