Skip to content

SameSite cookie, posible issues #26377

Closed
@diazwatson

Description

@diazwatson

| QPT Data Collection|borderStyle=dashed|borderColor=#cccccc|titleBGColor=#dddddd|bgColor=#e3ffea |
| --- |
|

  • QPT release:
    1.0.20
  • Patch ID
    MC-41359
  • Are there any additional actions required after the patch installation to make it work?
    N/A
  • Compatible with Magento versions:
    Check compatibility
    |

Preconditions (*)

On February, 4, Google is set to roll out a new Chrome update that promises a bunch of new features designed to make the browser faster and more secure — including a new approach to cookies.

The SameSite update will require website owners to explicitly state label the third-party cookies that can be used on other sites. Cookies without the proper labelling won’t work in the Chrome browser, which has 63.62% of the overall browser market, according to Statcounter.

Right now, the Chrome SameSite cookie default is: “None,” which allows third-party cookies to track users across sites. But from February, cookies will default into “SameSite=Lax,” which means cookies are only set when the domain in the URL of the browser matches the domain of the cookie — a first-party cookie.

This will not probably affect Magento itself but what about it 3rd party integrations which comes pre installed by default such as NewRelic?

Steps to reproduce (*)

  1. Open Chrome and go to chrome://flags/
  2. Enable SameSite by default cookies and Cookies without SameSite must be secure
  3. Open the Chrome inspector.

Expected result (*)

  1. No errors or warnings should show.

Actual result (*)

Production site
Screenshot 2020-01-13 at 20 21 44

Admin Panel of a Vanilla Magento 2.3-develop site
Screenshot 2020-01-13 at 20 35 08

Paying with PayPal Express sandbox account
Screenshot 2020-01-13 at 20 46 35

Related links

Metadata

Metadata

Assignees

Labels

CDIssue recommended for the contribution dayComponent: SecurityFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.3.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions