Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opener information #90

Open
yoavweiss opened this issue Jun 3, 2024 · 3 comments
Open

Opener information #90

yoavweiss opened this issue Jun 3, 2024 · 3 comments

Comments

@yoavweiss
Copy link

Related to #17 and #83

Some origins can contain different applications with different levels of security requirements. In those cases, it can be beneficial to prevent scripts running in one application from being able to open and script pages of another same-origin application.

If there are no valid use cases for application A to open application B as a popup/tab, B communicating its opener to the server can help the server terminate requests for B that have an opener A (and are therefore suspicious of being a result of an XSS attack trying to migrate from A to B).

/cc @annevk @mjz3

@yoavweiss
Copy link
Author

I think we'd only need to add those headers to navigation requests that actually have an opener, so the overhead of this extra header would be negligible.

@yoavweiss
Copy link
Author

The use case here may be redundant with whatwg/html#10373

@annevk
Copy link
Member

annevk commented Jun 6, 2024

cc @bartoszniemczura

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants