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

Allow same-origin fetches to potentially-trustworthy origins #89

Closed
letitz opened this issue Nov 7, 2022 · 1 comment · Fixed by #98
Closed

Allow same-origin fetches to potentially-trustworthy origins #89

letitz opened this issue Nov 7, 2022 · 1 comment · Fixed by #98

Comments

@letitz
Copy link
Collaborator

letitz commented Nov 7, 2022

HTTPS prevents DNS rebinding, which is the only reason we apply PNA checks to same-origin fetches.

If a fetch is made from a potentially-trustworthy origin to itself, then an attacker could only be attacking themselves. If an attacker obtains a certificate for the victim origin, then it's too late for us to do anything about it.

@letitz
Copy link
Collaborator Author

letitz commented Mar 2, 2023

@johnathan79717 is looking into specifying this.

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

Successfully merging a pull request may close this issue.

1 participant