-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Don't allow frames to pass cookies through window.name #5910
Comments
See https://lists.w3.org/Archives/Public/public-webappsec/2016Jul/0006.html for more details (thread). Also, this trick has apparently been known for a long time and is also an open bug in Firefox. The consensus seems to be that |
Blink planned to do the same fix as Webkit, but while a port of the Webkit patch landed, it got reverted because it broke something around Chromebooks. We should rebase and reland their patch in Brave. This could be as simple as enabling the |
@pes10k @pilgrim-brave please provide a succinct test plan which @brave/qa-team can use; thanks! Marking |
… On Jul 1, 2022, at 12:09, Stephen Donner ***@***.***> wrote:
@pes10k @pilgrim-brave please provide a succinct test plan which @brave/qa-team can use; thanks! Marking blocked and QA/Test-Plan-Required until we have one.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Verified
|
Brave | 1.41.86 Chromium: 103.0.5060.66 (Official Build) beta (x86_64) |
---|---|
Revision | 20b1569438a85e631d15e83eb355e3e326e5da6f-refs/branch-heads/5060@{#1066} |
OS | macOS Version 11.6.7 (Build 20G630) |
First, confirmed issue with 1.40.107 Chromium: 103.0.5060.53 (Official Build) (x86_64):
example | example |
---|---|
Confirmed window.name
is now NA
(N/A):
example | example |
---|---|
Verified
|
1.41.86 | Chromium: 103.0.5060.66 (Official Build) beta (64-bit) |
---|---|
Revision | 20b1569438a85e631d15e83eb355e3e326e5da6f-refs/branch-heads/5060@{#1066} |
OS | Linux |
Steps:
- installed
1.41.86
- launched Brave
- loaded
https://dev-pages.bravesoftware.com/dom-properties/window-name.html
- clicked on
Run test
- noted the result
- clicked on
Reset test
- clicked on
Run test
- noted the result
Confirmed window.name is NA
example | example |
---|---|
terrific!! |
Verification passed on the following devices running 1.41.91 x64 build
|
Verified with
Reproduced the issue using 1.40.113:
Confirmed does not reproduce when using 1.41.94:
|
Verified
Reproduced the issue using
Confirmed the fix using
|
Verification passed on
|
we should keep folks from passing cookies through window.name, as part of a bigger project to keep 3p from riding on 1p storage
The text was updated successfully, but these errors were encountered: