Skip to content

Add security attributes to external links to prevent reverse tabnabbing#287

Merged
SuperQ merged 1 commit intoprometheus:masterfrom
erlan-z:fix-reverse-tabnapping
Feb 6, 2025
Merged

Add security attributes to external links to prevent reverse tabnabbing#287
SuperQ merged 1 commit intoprometheus:masterfrom
erlan-z:fix-reverse-tabnapping

Conversation

@erlan-z
Copy link
Contributor

@erlan-z erlan-z commented Jan 21, 2025

Adding rel="noopener noreferrer" to external links that use target="_blank" to prevent potential reverse tabnabbing attacks. This security enhancement blocks malicious websites opened in new tabs from manipulating the original page context.

…attacks

Signed-off-by: Erlan Zholdubai uulu <erlanz@amazon.com>
@erlan-z erlan-z force-pushed the fix-reverse-tabnapping branch from 4fde274 to e155a9c Compare January 21, 2025 19:09
Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

Thanks!

@SuperQ SuperQ merged commit 90c1ece into prometheus:master Feb 6, 2025
4 checks passed
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.

2 participants