jainpawan21 / cipher-task-frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(JS-0422) Prevent usage of unsafe target='_blank'

jainpawan21 opened this issue · comments

Description

When creating a JSX element that has an 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 (see here for more details) This rules requires that you accompany …

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/jainpawan21/cipher-task-frontend/issue/JS-0422/occurrences/