Ajay-Dhangar / CodeMastermindHQ

A tech hub for learning and collaborating on web development
https://cmhq.tech/
MIT License
8 stars 0 forks source link

(JS-0422) Avoid `target='_blank'` attribute without `rel='noopener noreferrer'` #490

Open Ajay-Dhangar opened 1 month ago

Ajay-Dhangar commented 1 month ago

Description

When creating a JSX element with a tag, it is often desired to have the link open in a new tab using the target='_blank' attribute. Using this attribute unaccompanied by rel='noreferrer', however, is a severe security vulnerability.

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/Ajay-Dhangar/CodeMastermindHQ/issue/JS-0422/occurrences/