You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
In general, cross-origin anchor elements with target="_blank" create a security risk as described in https://mathiasbynens.github.io/rel-noopener/. This is solved by adding
rel="noopener" to all links with target="_blank", which nulls the window.opener object.
I don't think this is currently exploitable in Brave because, based on experimentation, window.opener is automatically set to null when the opener is a chrome-extension:// URL. However this for defense in depth we should probably add rel="noopener" anyway.
The text was updated successfully, but these errors were encountered:
Test plan
#10290 (comment)
(reported by email by the folks at lgtm.com)
In general, cross-origin anchor elements with target="_blank" create a security risk as described in https://mathiasbynens.github.io/rel-noopener/. This is solved by adding
rel="noopener" to all links with target="_blank", which nulls the window.opener object.
I don't think this is currently exploitable in Brave because, based on experimentation, window.opener is automatically set to null when the opener is a
chrome-extension://
URL. However this for defense in depth we should probably add rel="noopener" anyway.The text was updated successfully, but these errors were encountered: