Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rel attribute to prevent clickjacking #330

Merged
merged 1 commit into from
Aug 25, 2020
Merged

add rel attribute to prevent clickjacking #330

merged 1 commit into from
Aug 25, 2020

Conversation

lpmi-13
Copy link
Contributor

@lpmi-13 lpmi-13 commented Aug 25, 2020

noopener and noreferrer both address clickjacking vulnerabilities on target="_blank", though noopener isn't supported in some legacy browsers, while noreferrer is supported, and is ignored by more recent browsers. So adding both is currently the easiest way to support everything.

`noopener` and `noreferrer` both address clickjacking vulnerabilities on `target="_blank"`, though `noopener` isn't supported in some legacy browsers, while `noreferrer` is supported, and is ignored by more recent browsers. So adding both is currently the easiest way to support everything.
@lpmi-13
Copy link
Contributor Author

lpmi-13 commented Aug 25, 2020

for reference, currently causing this security vulnerability in the kubernetes contributor website

clickjacking on kubernetes dev

@LisaFC
Copy link
Collaborator

LisaFC commented Aug 25, 2020

Thanks for this!

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