Skip to content

Web Share API can be triggered from iframe sandbox #155

@shhnjk

Description

@shhnjk

CSP/iframe sandbox aren't allowed to open popups or escape sandbox restriction unless "allow-popups" or "allow-popups-to-escape-sandbox" is set respectively.

However, when "allow-scripts" is specified, sandboxed document can trigger Web Share API, which might allow escaping CSP/iframe sandbox because Web Share Target now supports PWA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions