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

Call out that PNA preflights leak the request Origin as a trade-off #124

Closed
johnathan79717 opened this issue Jan 24, 2024 · 0 comments
Closed

Comments

@johnathan79717
Copy link
Collaborator

Subresource fetch requests in no-cors mode doesn't come with an Origin header, but the preflight requests we send for PNA include the "Origin" header. This is so that websites can use it to gate access only to websites they trust even though it leaks some information. We think the trade-off is worth it because in order to exploit this leak, you have to be on the private network of the user. We should probably still call this out in the spec.

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

1 participant