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

update cors.md #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

update cors.md #73

wants to merge 1 commit into from

Conversation

tamimhasan404
Copy link

No description provided.

@@ -7,6 +7,17 @@ Check to see what the server responds with in the `Access-Control-Allow-Origin:`

If it is trusting arbitrary origins **with** allow-credentials set to true, then host this HTML as a proof of concept.

## Some method to bypass CORS
Copy link

@ItsIgnacioPortal ItsIgnacioPortal Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to suggest that the title be changed into "Origin-based CORS bypass", to make it more professional

Also, this addition should be below the HTML snippet. Otherwise the document doesn't make sense

@ItsIgnacioPortal
Copy link

How are these bypasses supposed to be used in the real world? The Origin header cannot be edited by javascript; MDN says that it is a forbidden header

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 this pull request may close these issues.

4 participants