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
It is possible to enable access to opener in various ways, e.g. opening two popups and using opener attribute on snow to perform the following:
// from: snow.playgroundopener.location='about:blank';// short sleepopener.alert()
The above attack could be mitigated by banning opener property from the window object, however, it's possible to use an opener on a cross-origin iframe. The following PoC achieves just that with some other trickery to establish openee-opener relationship. Seems to be working in both Chrome and Firefox.
Thanks for contributing. The main maintainer of this project is temporary unavailable, but we'll definitely get back to this.
The plan is to tighten some limitations on DOM usage that Snow already introduces and fixing the missing overrides where possible. Some of the work has started (see PR tab)
It is possible to enable access to
opener
in various ways, e.g. opening two popups and usingopener
attribute on snow to perform the following:The above attack could be mitigated by banning
opener
property from the window object, however, it's possible to use an opener on a cross-origin iframe. The following PoC achieves just that with some other trickery to establish openee-opener relationship. Seems to be working in both Chrome and Firefox.The text was updated successfully, but these errors were encountered: