mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix(React DevTools) - prevent phishing attacks (#19934)
When a link opens a URL in a new tab with target="_blank", it is very simple for the opened page to change the location of the original page because the JavaScript variable window.opener is not null and thus "window.opener.location can be set by the opened page. This exposes the user to very simple phishing attacks.
This commit is contained in:
@@ -121,6 +121,7 @@
|
||||
id="rn-help-link"
|
||||
class="link"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://reactnative.dev/docs/debugging#accessing-the-in-app-developer-menu"
|
||||
>in-app developer menu</a> to connect.
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user