-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
The CSRF cookie is not set when opening a page through an iframe #1523
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
Comments
Having the same problem |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm hitting this too, this should be reopened... It's likely it was just not even looked at and got closed by the stale bot. God I hate auto close issues and PR bots, always feels like a way to just ignore issues so they go away and should really only apply to issues/PRs where the owner of them disappeared |
I have the same problem as well |
Firefox now gives this warning:
|
Issue Description
There is no way to change
SameSite
mode when setting CSRF cookies.Checklist
Expected behaviour
Successfully setting CSRF cookie when opening a page through an iframe.
Actual behaviour
Cannot install CSRF via iframe. The browser reports an error:
This set-cookie didn't specify a SameSite attribute and was defaulted to SameSite=Lax and broke the same rules specified in the SameSiteLax value.
Steps to reproduce
Activate the
SameSite
experimental mode in Google Chrome (which will be turned on by default soon) and try to open the page through the iframe.How to enable: https://www.chromium.org/updates/same-site/test-debug
What is a problem: https://web.dev/samesite-cookies-explained/
Working code to debug
Version/commit
v4.1.15
The text was updated successfully, but these errors were encountered: