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="noopener noreferrer" attributes to HTML anchor elements where target="_blank" #269

Open
markborkum opened this issue Feb 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@markborkum
Copy link
Collaborator

The following files contain HTML anchor <a> elements where target="blank":

  • src/components/file_input.tsx
  • src/components/gps_coord_str.tsx
  • src/components/home.tsx
  • src/templates/doe_workflow_combustion_appliance_safety_tests.mdx

Adding rel="noopener noreferrer" protects against the target hijacking the user's web browser (e.g., by using malicious JavaScript).

@markborkum markborkum added the bug Something isn't working label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant