I got this warning on terminal when I was developing a react app. What does it mean? what risks should I expect?
code
Go to <a target="_blank" href="http://facebook.com"> Facebook</a>
Warning
Line 11:21: Using target="_blank" without rel="noreferrer" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener react/jsx-no-target-blank
I had to add the specification but I don't know why it important.
Go to <a target="_blank" rel="noreferrer" href="http://facebook.com"> Facebook</a>